Transaction Control In EJBS


EJB design: Transaction Control In EJBS

  1. Transaction Control In EJBS (2 messages)

    i have a requires transaction attribute for a method on the ejb.
    this method calls several java objects which acquire a database connections independently and do some database access.
    would the ejb container maintain transaction integrity across all these connections used within the same method?
    should i use only one connection per EJB?
  2. Transaction Control In EJBS[ Go to top ]

    I extend this question
    For example if i used third party API which has its own transaction and is not using EJB model. How come we will use this third party API and our Entity bean together to ensure we are also achieving ACID in our transaction
  3. Transaction Control In EJBS[ Go to top ]

    Yes, that's why EJB container is also called CMT/component transaction manager.