what is the difference between stateless and stateful
sessions?

Answer Posted / harish

Stateless session Bean will not maintain the conversation
state between the requests. Each request will be
independent. It does not support Activation and
Passivation.
Where as Stateless Session Bean, it maintains the
conversation state between Client and Server. Each
request, it can hold the data. It supports Activation and
Passivation

Is This Answer Correct ?    16 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is ejb used?

526


Why do we use @requestmapping?

524


What is ejb and how it works?

526


Is state maintained by a Stateless bean?

568


Define Initial Context?

590






How can a session bean be configured for transactions of bean-managed?

586


What is stateless programming?

604


Define SessionContext ?

597


Can beans who are involved in transaction have 'passivation' process?

546


Can tomcat run ejb?

538


What is mdb in ejb?

523


What is the procedure for the presentation of ejb persistence mechanism?

588


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

555


What causes statelessness?

485


What is stateful session bean?

570