what is the difference between stateless and stateful
sessions?

Answer Posted / bindehswar jha

Stateless Session bean support activation and Passivation
By passivation the bean isntance go to the instance pool
when it is not fulfilling any request and by activation the
bean instance active and fullfill the anohter request.

Is This Answer Correct ?    4 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate Phantom from Un-repeatable?

567


What is bean-managed transaction?

565


What is stateless session?

559


What is stateful session bean?

570


What is EJB object?

588






What is ejb home object?

571


How many enterprise beans?

551


What are the limitations of using local object?

541


Is it possible to have threading in ejb?

556


Should services be stateless?

497


What is the procedure of ejb container to handle exceptions?

554


List down the steps for the demonstration of ejp persistence mechanism.

630


What is @resource in java?

528


A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?

533


How does ejb container work?

519