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 in java with example?
What is Enterprise JavaBeans?
What is the purpose of a transaction monitor?
What is Session Bean Interface?
How to connect to a specific enterprise bean?
What is ejb 3?
Basic types of Enterprise JavaBeans?
What is ejb context?
What do you mean enterprise javabeans (ejb) container?
What’s the difference between hibernate and ejb 3?
What do you understand by session facade?
What is ejb and how it works?