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 |
Name the attributes of javax.ejb.ejb.
How does EJB 2.0 improve support for interoperability between EJB containers and other J2EE products?
What are stateless functions?
ejbCreate in Entity bean and create method in EJB home, have the same parameters?
What changes have been made in ejb 2.0 specifications?
What do you mean by ejbdoclet?
what are required main interfaces in EJB?
An EJB client, can marshall an object of the class java.lang.Class to an EJB?
What is an entity and its types?
What are versions of ejb?
Should services be stateless?
How to import ejb project in eclipse?