• 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

RemoteExceptions in Container Callback methods ? - valoxo cheetsheets

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In valoxo cheetsheets,
http://www.valoxo.ch/jr/BeanProviderResponsibilities.pdf,

All the container callback methods throws RemoteException?
That too, its not shown as optional?
But I'm not seeing RemoteException the examples of HFEJB?
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For EJB2.0, container callback should not throw java.rmi.RemoteException.Instead it throws javax.ejb.EJBException.
Since EJBException is subclass of java.lang.RuntimeExcetion you need not
include it in throws clause of callback
 
saran ram
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank You krishnaraj.
Can the author of the valoxo cheatsheets or somebody who've followed the cheatsheets for the exam please add some comments on this?
 
reply
    Bookmark Topic Watch Topic
  • New Topic