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

What is EJB server?

594


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

583


What is ejb and why it is used?

503


What is the default transaction attribute for an ejb?

542


What is stateful or stateless?

528






Explain what is an EJB Context?

615


What is enterprise bean?

593


What is ejb technology?

497


What is activemq used for?

509


What is bean-managed transaction?

561


What are the types of ejb?

542


What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?

538


In what format is the conversational data written to the disk?

507


How can enterprise javabeans be accessed from active server pages?

565


Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?

526