what is the difference between stateless and stateful
sessions?
Answer Posted / rajshekaran pillai
In case of a Stateful session bean a state called passive
state exists in its life cycle. The EJB container uses a
lease recently used algorithm to decide to passivate the
bean i.e move it from memory to secondary storage. Whenever
the client calls any business method on the bean it is
activated.
Whereas a stateless session bean is never passivated
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Why is ejb needed?
Is method overloading allowed in ejb?
How does ejbs work?
What are the differences between ejb 3.0 and ejb 2.0?
Can tomcat run ejb?
What do you understand by session facade?
What are the callback annotations for the stateless bean?
Elucidate callback in ejb?
What is the meaning of acid in the connection of transaction management?
What are the components of ejb?
What is ejb client?
What is EJB server?
Why should we use ejb?
What is a local interface?
Explain the concept of ejb ql?