File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes throws RemoteException, EJBException for Callback methods in bean ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "throws RemoteException, EJBException for Callback methods in bean ?" Watch "throws RemoteException, EJBException for Callback methods in bean ?" New topic
Author

throws RemoteException, EJBException for Callback methods in bean ?

Timothy Toe
Ranch Hand

Joined: Oct 19, 2002
Posts: 156
Crettaz�s cheat sheets have �throws RemoteException, EJBException� declared for the container callback methods of the SB and EB classes (eg ejbPassivate(), ejbRemove()).

But on page 397 of HFEJB, those callback methods of a EB on that page did not declare.

Why ?
Which is right ?

Callback methods declared in the EB, SB interfaces do declare �throws RemoteException, EJBException�. As such, I personally think that Crettaz is right.

Someone pls clarify.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
I answered the same question last week here.

Hint: The search tool comes in very handy sometimes


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: throws RemoteException, EJBException for Callback methods in bean ?
 
Similar Threads
why not Enterprise Bean class implements remote/local interface???
Errata in Valentin Crettaz's cheat sheets
HF EJB, question about page 86
Session Beans and SessionBean interface.
Method names starting with 'ejb'