This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.