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
Can you be deported if you are stateless?
What is ejb in spring?
TX operation funtion executed by?
Differentiate “find a method” from “select method” in EJB ?
What is ejb container in java?
Explain the concept of local interfaces?
Enlist the changes in EJB 2.1 ?
What is ejb and its uses?
Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?
What is ejb and how it works?
What is software architecture of ejb?
What are the advantages of ejb components?
What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?
What are the components of ejb?
What is entity beans in ejb with example?