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 do you mean by ‘hot deployment’ ?
Is having static initializer blocks legal in ejb?
Explain the important elements of ejb?
How to create ejb project in eclipse?
Is udp stateless?
What is entity bean?
What is the use of @ejb annotation?
What is @injectmock?
can u explain about design patterns like singleton,builder,factory
Enlist the enterprise beans types?
What is ejb context?
How does ejb container work?
What is the use of @resource?
How can enterprise javabeans be accessed from active server pages?
What are transaction isolation levels in ejb?