This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: throws RemoteException, EJBException for Callback methods in bean ?
 
Similar Threads
Errata in Valentin Crettaz's cheat sheets
HF EJB, question about page 86
why not Enterprise Bean class implements remote/local interface???
Method names starting with 'ejb'
Session Beans and SessionBean interface.