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


Please Help Members By Posting Answers For Below Questions

Enlist the changes in EJB 2.1 ?

571


What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

560


What do you mean by in-memory replication?

609


Define EAR, WAR and JAR ?

587


What is stateless session?

551






Is having static initializer blocks legal in ejb?

538


What does @inject mean in java?

640


What is difference between ejb 1.1 and ejb 2.0?

563


How does ejb container work?

506


What is ejb home object?

559


What is the difference between Session bean and Entity bean?one?

556


Can EJB made to handle multiple transactions?

601


What is EJB object?

579


Match the ejb functions given below with the functionality equivalent in sql?

545


How do I use a less than or greater than on a message selector in ejb-jar.xml?

522