my dog learned polymorphism*
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.
 
Don't get me started about those stupid light bulbs.
 
subject: catching EJBException .