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
What is stateless authentication?
What is difference between stateless and stateful?
What is ejb and its properties?
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?
What is the difference between Session bean and Entity bean?one?
Enlist the contents of Container.
Define Context?
Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?
Is ejbCreate() method mandatory while defining a Session Bean?
How do I use a less than or greater than on a message selector in ejb-jar.xml?
What is stateful session bean?
How does ejb invocation happens?
Which is more beneficial: Stateful or Stateless Bean?
What were entity beans?
What is activemq used for?