• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

throws RemoteException, EJBException for Callback methods in bean ?

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I answered the same question last week here.

Hint: The search tool comes in very handy sometimes
 
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic