Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How bean-managed transactions will work?



How bean-managed transactions will work?..

Answer / 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

More EJB Interview Questions

What is persistence?

2 Answers  


Can tomcat run ejb?

0 Answers  


Name the attributes of javax.ejb.ejb.

0 Answers  


Is it possible to share an httpsession between a jsp and ejb?

0 Answers  


An EJB client, can marshall an object of the class java.lang.Class to an EJB?

2 Answers  






What is ejb 3?

0 Answers  


How Client will contact the Bean?

3 Answers   Four soft, Tech Mahindra,


What is stateful session bean?

0 Answers  


Enlist the CallBack methods of Session Bean?

0 Answers  


How bean-managed transactions will work?

1 Answers   Wipro,


How does ejb invocation happens?

0 Answers  


How to invoke ejb from java client?

0 Answers  






Categories