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 |
What is ejb technology?
What is Enterprise JavaBeans?
What is session facade in ejb?
What does statelessness mean?
How does the server decide which beans to passivate and activate?
How many ejb objects are created for a bean?
Can stateful session beans are persistent?
How to invoke ejb from java client?
Is functional programming stateless?
What is the purpose of a transaction monitor?
What is stateless authentication?
What is the difference between stateful and stateless session beans?