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

How does ejb invocation happens?

559


What is jar, war, and ear?

625


Is ejbCreate() method mandatory while defining a Session Bean?

595


What is difference between ejb and spring?

519


What is an entity and its types?

554






How does ejbs work?

519


What are the components of ejb?

568


What’s the difference between hibernate and ejb 3?

551


What changes have been made in ejb 2.0 specifications?

618


What is EJB server?

598


What were entity beans?

594


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

637


What is the difference between @requestparam and @pathvariable?

489


What do you mean by EJB architecture?

581


What is ejb and its properties?

532