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 stateless session bean?
how to set the relationship between tables in ejb
What does @inject mean in java?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
Define Clone?
What is ptp model?
What are the types of enterprise bean?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
what is mean by dll ? Please answer me. Advance thanks.
What is ejb and its types in java?
explain why we say stateless beans does not maintain conversation state besides statefull maintains conversation state. give some examples...
Why should we use ejb?