0 Replies Latest reply on Feb 28, 2005 11:37 AM by jbosser2005

    Understanding CMT

    jbosser2005

      I am using CMP Entity Beans with CMT. I just try to understand container-managed transactions. So I have some questions:

      1. Do I understand it right, that each method of an EJB is processed in one isolated transaction if the transaction-attribute for all methods is set to 'Require'?

      2. If I want to process all methods from one EJB within one transaction, I have to set one method to Require and all others to Mandatory?

      3. If I want to process methods from two different EJBs in one transaction, do I have to create a SessionBean and set its methods and the relevant EJB methods like in no. 2? Do I need a SessionBean at all for this case?

      Thx,
      Sven