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 ejb 3?
What is bean-managed transaction?
What is ejbdoclet?
can we stop the execution of a method before completion?
What are the key features of the ejb technology?
How to import ejb project in eclipse?
Why do we need ejb?
can u explain about design patterns like singleton,builder,factory
What is the default transaction attribute for an ejb?
Why is ejb used?
What is the full form of ejb in java?
What is mdb in ejb?
What do you mean by EJB architecture?
What is singleton session bean?
What is EJB server provider?