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 are transaction isolation levels in ejb?
What is stateless programming?
What are the different types of ejb?
Define Initial Context?
Should services be stateless?
Can the primary key in the entity bean be a Java primitive type such as int?
whatis the diff between ejb and servlet/jsp
Who took over ejb?
In what way, the client gets a reference to an existing entity bean?
What does a deployment diagram specify?
When was ejb developed?
What is the difference between message driven beans and stateless session beans?