Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How bean-managed transactions will work?

Answer Posted / guest

When a bean with bean managed transactions is invoked, the
container suspends any current transaction in the client?s
context. In its method implementation, the bean initiates
the transaction through the JTA UserTransaction interface.
In stateful beans, the container associates the bean
instance with the same transaction context across subsequent
method calls until the bean explicitly completes the
transaction. However, stateless beans aren?t allowed to
maintain transaction context across method calls. Each
method invocation must complete any transaction it initiates.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In what format is the conversational data written to the disk?

980


what is the Relationship between EJB and CORBA architecture?

3854


The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?

990


What is @injectmock?

925


Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?

1003


What are stateless applications?

1058


What are the various types of entity beam?

998


What are the callback annotations for the stateless bean?

942


What is Enterprise JavaBeans (EJB)?

1003


Is functional programming stateless?

989


can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.

2357


What are the different types of ejb?

959


What is entity beans in ejb with example?

961


What is ejb application?

934


What is the difference between Session bean and Entity bean?one?

1118