Answer Posted / 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 |
Post New Answer View All Answers
How does ejb invocation happens?
can u explain about design patterns like singleton,builder,factory
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
What is remote interface in ejb?
What are the basic and subtypes of enterprise java beans (ejb)?
What are the callback annotations for entity bean?
What are the benefits of ejb?
Is functional programming stateless?
What changes have been made in ejb 2.0 specifications?
Why do we use @requestmapping?
What is the default transaction attribute for an ejb?
What were entity beans?
An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?
How to determine, that beans are TX or not?
List down the steps for the demonstration of ejp persistence mechanism.