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 main features in EJB?
ejb session beans and entity beans?
explain why we say stateless beans does not maintain conversation state besides statefull maintains conversation state. give some examples...
What is the difference between stateful and stateless session beans?
Define ripple effect?
why object class is a parent of all classes in java?
What are the design goals of EJB Architecture?
What is singleton session bean?
What is message-driven bean?
What are transaction isolation levels in ejb?
Mention the three levels for applying interceptor methods.
java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?