
632 Patterns: SOA Foundation Service Connectivity Scenario
Delete the throws clause (throws java.rmi.RemoteException) that the editor
and the Problems view mark with a warning because this throws clause does
not comply with the EJB 2.0 specification.
Figure B-25 Warning for throws clause in session bean method
3. Implement the registerCustomer method. For example, enter the following
lines of code to print customer information out to the log (Example B-2).
Example: B-2 Print customer information
System.out.println("ITSOMart RegistrationProcessorService >> registerCustomer");
if (registrationRequest != null) {
Customer customer = registrationRequest.get ...