Re: What is a transaction
Posted By:
RUMPA_GIRI
Posted On:
Friday, May 4, 2001 05:18 PM
Transaction is set of steps that should happen as an atomic step. i.e, suppose you have a bean that does the 1.reservation of ticket and
2.then charges the cerdit card..
now the two steps should either happen together or should not happen at all else you will end up with inconsistency in the system.. these two steps should be part of a transaction.
this is handled by the container, in the ejb-jar.xml file, you mention the steps/methods that should be part of a transaction.
Re: What is a transaction
Posted By:
venkatasubbaiah_chenna
Posted On:
Friday, April 13, 2001 10:28 PM
Mr.AJP Transaction is communication between EJB and DB.This can be maintained in weblogic server by providing transaction attribute in xml file.