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 |
Which is default transaction attribute for the business method of a bean?
How to create ejb project in eclipse?
Is decorator an ejb design pattern?
Which is more beneficial: CMP or BMP?
What do you mean by timer service and where it is used?
How Client will contact the Bean?
3 Answers Four soft, Tech Mahindra,
What is difference between ejb and spring?
Where a bean can be used ?
The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?
What are the key benefits of the ejb technology?
Enlist the CallBack methods of Session Bean?
Is soap stateless or stateful?