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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stateless authentication?

521


What is difference between stateless and stateful?

495


What is ejb and its properties?

526


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?

561


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

562






Enlist the contents of Container.

580


Define Context?

600


Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?

540


Is ejbCreate() method mandatory while defining a Session Bean?

593


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

528


What is stateful session bean?

564


How does ejb invocation happens?

550


Which is more beneficial: Stateful or Stateless Bean?

582


What were entity beans?

590


What is activemq used for?

511