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 ejb in java with example?

0 Answers  


What is Enterprise JavaBeans?

1 Answers  


What is the purpose of a transaction monitor?

1 Answers  


What is Session Bean Interface?

0 Answers   Tech Mahindra,


How to connect to a specific enterprise bean?

2 Answers  






What is ejb 3?

0 Answers  


Basic types of Enterprise JavaBeans?

4 Answers   TCS,


What is ejb context?

0 Answers  


What do you mean enterprise javabeans (ejb) container?

0 Answers  


What’s the difference between hibernate and ejb 3?

0 Answers  


What do you understand by session facade?

0 Answers  


What is ejb and how it works?

0 Answers  


Categories