This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
You may decide that you do not want this to happen, so you just need to encapsulate EJBException in an instance of Exception or a subclass of it (but notRuntimeException) and throw that exception. The EJB container will not automatically rollback the transaction, so you will have to invoke setRollbackOnly() if you want a rollback.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Joined: May 19, 2005
what about in case of RemoteException which is thrown by remote and well as local beans.