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 mdb in ejb?
Define SessionContext ?
How many types of session beans are available in ejb?
What is Enterprise JavaBeans (EJB)?
Define ripple effect?
Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?
What is stateless session?
What is ejb and how it works?
What is @enableautoconfiguration?
What are the various types of entity beam?
What do you mean enterprise javabeans (ejb) container?
What is message-driven bean?
What do you mean by timer service and where it is used?
what is mean by OLE ? Please answer me. Advance thanks.
What is ejb and its types?