what is the difference between stateless and stateful
sessions?

Answer Posted / sathish babu

stateless sessinobean:can not maintain the state,cannot
maintain the persistance(data base),onece sutdown
machine,we cannot see that data,cannot have the
passivate,activate states.ex:atm mini statements.

statefull sessionbean:maintain the state,but cannot
maintain the persistance,once we sutdown the system the
values stored in local hard disc,can have the passivate and
activate states.ex:shopping card

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are ejb containers?

632


Why do we use ejb?

619


What are the benefits of ejb?

640


What optimization could I use if the ejb container is the only point of write access to the database?

650


Is functional programming stateless?

605






Where is ejb used?

608


How to generate ejb stubs in eclipse?

834


What are stateless functions?

597


What are the types of ejb?

630


What is ejb javatpoint?

648


What is ejb client?

646


Why is ejb used?

590


What is stateless and stateful?

610


How many enterprise beans?

634


Which is more beneficial: Stateful or Stateless Bean?

655