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
What is @injectmock?
What do you mean by ejb ql?
Define Initial Context?
What is activemq used for?
What is jar, war, and ear?
What is ejb javatpoint?
Explain the concept of local interfaces?
Can you be deported if you are stateless?
What is ejb context?
What is Enterprise JavaBeans (EJB)?
What is ejb and its properties?
Can remove() be a Stateless Session bean?
What are the differences between ejb 3.0 and ejb 2.0?
What is the procedure for the creation of stateless ejb?
What are the different kind of ejb's?