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 an entity and its types?
What is ejb ql?
How can enterprise javabeans be accessed from active server pages?
How does the server decide which beans to passivate and activate?
What is Session Bean Interface?
What do you mean enterprise javabeans (ejb) container?
What were entity beans?
What do you mean by bean managed transaction?
What is entity beans in ejb with example?
What is ejb role in j2ee?
What is ejb and its types?
can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.
Define Context?
Why should we use ejb?
What is ejb in java?