permaculture playing cards
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

Win a copy of Building Microservices this week in the Design forum!
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 .
It's not a secret anymore!