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 the difference between stateless and stateful sessions?
Can you be deported if you are stateless?
Is having static initializer blocks legal in ejb?
How many enterprise beans?
What is Enterprise JavaBeans Query Language (EJB QL)?
Can EJB made to handle multiple transactions?
What is applicationscoped?
Can an ejb send asynchronous notifications to its clients?
What are the required methods to implement EJB architecture?
How do I use a less than or greater than on a message selector in ejb-jar.xml?
What is Enterprise JavaBeans?
What is persistence?