dcsimg
What is a transaction
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   A_JP
Posted On:   Friday, April 13, 2001 06:15 PM

Hi !
Could anyone explain in a simpler way of what is a transaction and how it is maintained in weblogic ???

Thanks
AJP

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.
About | Sitemap | Contact