Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

catching EJBException .

 
PavanPL KalyanK
Ranch Hand
Posts: 212
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic