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 ejb components?
What happens when I change a value in the httpsession from inside an ejb?
What is ejb home object?
What is ejbdoclet?
How can a session bean be configured for transactions of bean-managed?
What is the procedure of ejb container to handle exceptions?
What is ejb ql?
What are the types of enterprise bean?
What is ejb in java?
What is message-driven bean?
What do you mean by ejb?
When was ejb developed?
What is backing bean?
What do you mean by ‘hot deployment’ ?
What is bean-managed persistence?