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 |
Is functional programming stateless?
What is the use of @ejb annotation?
What is the difference between stateful and stateless session beans?
What is stateless session bean?
What is persistence?
What are the required methods to implement EJB architecture?
Explain the concept of ejb ql?
How is an entity bean created?
What is entity bean in ejb?
How do you implement the Local Interfaces ?
What is ejb technology?
Is ejbCreate() method mandatory while defining a Session Bean?