How stateful session beans will maintain consistency,
across transaction updates?
Answer Posted / guest
Stateful session beans maintain data consistency by updating
their fields each time a transaction is committed.To keep
informed of changes in transation status, a stateful session
bean implements the SessionSynchronization interface.The
Container then calls methods of this interface as it
initiates and completes transactions involving the bean.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are ejb containers?
What is ejb home object?
Is it possible to share an httpsession between a jsp and ejb?
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
Enlist the enterprise beans types?
Is microservice stateless?
A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?
Explain transaction and various methods to manage it?
Name the attributes of javax.ejb.ejb.
What is entity beans in ejb with example?
What is backing bean?
Define EAR, WAR and JAR ?
What happens when I change a value in the httpsession from inside an ejb?
List down the steps for the demonstration of ejp persistence mechanism.
What causes statelessness?