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
How to import ejb project in eclipse?
Is decorator an ejb design pattern?
Why do we use ejb?
What do you mean by ‘hot deployment’ ?
What is stateless and stateful session bean in ejb?
How does the server decide which beans to passivate and activate?
What is the procedure for the creation of stateless ejb?
What is an ejb context?
Enlist the enterprise beans types?
How many types of session beans are available in ejb?
What is enterprise javabeans (ejb) container?
What are the attributes of transaction in ejb?
Name the attributes of javax.ejb.stateful.
What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?
What is an entity and its types?