0 Replies Latest reply on Mar 1, 2005 10:53 AM by yakuzza

    Container managed transaction in Stateless Session Beans

    yakuzza

      Hello,

      i read a lot of books about the transaction handling (cmt, bmt, and so on). In one of these books i found the following statement (translated from german):

      There are two ways to rollback a transaction in beans (CMT). First way is throwing an EJBException. The second is calling the method getRollbackOnly(). If an EJBException is thrown, the application server cannot use this instance any more.


      Can somebody tell me, how JBoss handles this? Do these "unused" instances represent a problem in the reference to performance or anything else?

      I hope you can help me.


      Thanx, Hagen