How the container will maintain synchronization for
multiple calls to the entity bean?



How the container will maintain synchronization for multiple calls to the entity bean?..

Answer / mohan

by the way to persist any thing in EJB we have to careful
about other thread are also accessing resource.We need the
help of the transaction isolation while writing.There is a
level called 'Serializable'.So by using this the resource
will allow one after another to write to the same resource;

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More EJB Interview Questions

what is current EJB version?

3 Answers  


What do you mean enterprise javabeans (ejb) container?

0 Answers  


Can i write business logic methods in entitybean?

3 Answers   HCL,


What is a stateless session?

0 Answers  


Is state maintained by a Stateless bean?

0 Answers  






What is an entity manager?

0 Answers  


What is difference between stateless and stateful?

0 Answers  


The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?

0 Answers  


difference b/w the hybernate and entity bean

6 Answers   Wipro,


What is ptp model?

0 Answers  


What is entity beans in ejb with example?

0 Answers  


How many enterprise beans?

0 Answers  


Categories