what is the difference between stateless and stateful
sessions?
Answer Posted / anitha
after deploying Stateless bean, Ejb Container creates some
objects and palce it in Object pooling.for each client
request it will get any one object from pool and serve the
client.so that it con't able to store client specific data
while invoking methods.
Where as in Statefull Bean, for each client the Container
creates one Object and serve the Client each request until
client exit.so that it can able to Persist the Client
data.it supports Object Activation and Passivation
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is @injectmock?
What is ejb in spring?
Match the ejb functions given below with the functionality equivalent in sql?
what is mean by OLE ? Please answer me. Advance thanks.
What is difference between ejb and spring?
How can one EJB be called from within another EJB?
What is difference between stateless and stateful?
How to invoke ejb from java client?
What ejb means?
Can remove() be a Stateless Session bean?
What are the design principles for ejb?
Why is ejb used?
What are the advantages of ejb?
What is ejb in java with example?
Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?