This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I have a servlet which is calling entity bean, in entity beans store method I am throwing Application Exception, but in servlet I am not able to catch this exception ,instead of my application exception I get TransactionRolledBack exception, which I think is throwen from the container when I mark transaction for rollback only in entity beans store method. Can anybody suggest me how I can catch my application exception in servlet.