File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

catching EJBException .

 
PavanPL KalyanK
Ranch Hand
Posts: 212
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In what scenarios should i throw EJBException , should i ever need to catch EJBException in my
bean ?

((As this being a RuntimeException let the container do the work)

What i mean to ask is why from the servlet we need to handle RemoteException raised from the EJBException of the EJB Layer.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic