• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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