File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes catching EJBException  . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "catching EJBException  ." Watch "catching EJBException  ." New topic
Author

catching EJBException .

PavanPL KalyanK
Ranch Hand

Joined: Feb 28, 2009
Posts: 212
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.
 
subject: catching EJBException .
 
Similar Threads
Just took the IBM J2EE (483) Exam....
Question on exceptions
Extending EJB Exception
Passing parameters between Session beans
Regarding throwing java.rmi.RemoteException