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

How does ejb container work?

1 Answers  


can we have static initializer blocks in EJB?

1 Answers   Reliance,


What are transaction isolation levels in ejb?

1 Answers  


How does a container, manage access, from multiple transactions on an entity bean?

1 Answers  


Does spring use ejb?

1 Answers  


What is an ejb container?

1 Answers  


can we stop the execution of a method before completion?

1 Answers  


What is ejb and why it is used?

1 Answers  


What is Enterprise JavaBeans?

1 Answers  


What is ejb home object?

1 Answers  


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?

1 Answers  


What is ejb technology?

1 Answers  


Categories