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 are the different kind of ejb's?
What is ejb and its types?
How can enterprise javabeans be accessed from active server pages?
What is ejb and why it is used?
How to import ejb project in eclipse?
What happens when I change a value in the httpsession from inside an ejb?
What is the difference between ejbcreate() and ejbpostcreate?
How many ejb objects are created for a bean?
What are the attributes of transaction in ejb?
What do you understand by annotation in ejb to do the database entity relationships/mappings with examples?
Is method overloading allowed in ejb?
What are the advantages of ejb?
What optimization could I use if the ejb container is the only point of write access to the database?
What’s the difference between hibernate and ejb 3?
Can remove() be a Stateless Session bean?