Hi All, I don't think Kathy provided solutions to the Sharpen you pencil exercise on page 547. My solution is A , D , C , A. Is that correct? Did anyone get a different answer? If so, please explain. Much appreciated.
IMO...the fourth one couldn't be B. RemoteException should never be thrown by a bean. Beans should throw EJBException and the container will in turn throw the appropriate exception to the client. RemoteExcepion to a remote client and EJBException to a local client.
hi keith, yes u r right.I checked it. in that case," bean turns what was originally checked exception(from bean's perspective)to an unchecked exception by wrapping and rethrowing it as an EJBExcaption,which ultimately shows up as RemoteException on the remote client ". so now all u'r answers r correct. [ January 29, 2004: Message edited by: bhargavi kakarala ]
SCJP2,SCWD,SCBCD,IBM Certified SOA Associate,IBM Certified Architectural Design of SOA Solutions
30 seconds to difuse a loaf of bread ... here, use this tiny ad: