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?
OR
should i use only one connection per EJB?
-
Transaction Control In EJBS (2 messages)
- Posted by: jaideep ganguli
- Posted on: May 11 2001 12:37 EDT
Threaded Messages (2)
- Transaction Control In EJBS by Sohail Nasim on May 12 2001 03:43 EDT
- Transaction Control In EJBS by qing yan on May 15 2001 03:06 EDT
-
Transaction Control In EJBS[ Go to top ]
- Posted by: Sohail Nasim
- Posted on: May 12 2001 03:43 EDT
- in response to jaideep ganguli
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 -
Transaction Control In EJBS[ Go to top ]
- Posted by: qing yan
- Posted on: May 15 2001 03:06 EDT
- in response to Sohail Nasim
Yes, that's why EJB container is also called CMT/component transaction manager.