Answer Posted / 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 View All Answers
Name the attributes of javax.ejb.stateful.
what is mean by OLE ? Please answer me. Advance thanks.
Can EJB made to handle multiple transactions?
Is microservice stateless?
What is pub/sub model?
Enlist the CallBack methods of Session Bean?
Explain the important elements of ejb?
What is an entity and its types?
What is the procedure for the presentation of ejb persistence mechanism?
What is ejb 3?
What is a ejb container?
Can remove() be a Stateless Session bean?
What is ejb role in j2ee?
Which is more beneficial: Stateful or Stateless Bean?
What are the benefits of ejb?