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 an entity and its types?
What are versions of ejb?
What’s the difference between hibernate and ejb 3?
What is ejb client?
List down the steps for the demonstration of ejp persistence mechanism.
What is stateless session?
What are ejbs used for?
Define Context?
What are the limitations of using local object?
How to determine, that beans are TX or not?
For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?
What is ejb in java?
How can a session bean be configured for transactions of bean-managed?
List some key actors in persistence api.
Define ripple effect?