wood burning stoves*
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


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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: throws RemoteException, EJBException for Callback methods in bean ?