This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Howdy -- in EJB 1.0, you (bean developer) *could* declare (and thus throw) RemoteException from your methods, but this was deprecated with EJB 1.1.
I think the main reason was that RemoteException is really meant as a system exception, not an application exception, and the standard now is to use EJBException as the mechanism for communicating ALL system exceptions to the Container. Which means of course that if you *catch* a RemoteException in your bean methods, you must rethrow it as an EJBException.
Hi Paulus, When we say home methods, these methods are defined in the interface extending from EJBHome or EJBLocalHome. How can we have an option of exposing the home methods in local home or remote home? Pls explain. Thanks Shobha SCJP 1.2, SCWCD
Joined: Sep 29, 2004
By home methods I mean the business methods that you can define on the local or remote home interface of entity beans, not the methods on the EJB(Local)Home itself.
These methods are implemented on the component interface of the bean (the ejbHome... methods).