File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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.
I agree. Here's the link:
subject: catching EJBException .
jQuery in Action, 3rd edition