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

What is ejb container?

678


Should services be stateless?

493


Can an ejb send asynchronous notifications to its clients?

534


How can I access ejb from asp?

584


What is ejb and its uses?

508






What is difference between stateless and stateful?

495


What is @resource in java?

526


What is ejb in java with example?

512


What are the benefits of ejb?

553


How do I use a less than or greater than on a message selector in ejb-jar.xml?

528


What are the callback annotations for entity bean?

515


What is use of @postconstruct?

522


How does ejb invocation take place?

569


Which is the only method defined in the javax.ejb.handle interface?

631


What are the differences between ejb 3.0 and ejb 2.0?

525