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 is the difference between ejbcreate() and ejbpostcreate?

534


What is EJB object?

582


What is ejb role in j2ee?

579


Is it legal to have static initializer blocks in ejb?

554


What are the callback annotations for entity bean?

513






How does the server decide which beans to passivate and activate?

527


What are the advantages of java beam?

519


What is the full form of ejb in java?

497


Does spring use ejb?

499


What are the different kind of ejb's?

535


What is mdb?

548


What is the use of @ejb annotation?

528


What is the default transaction attribute for an ejb?

541


What do you mean by ejb?

541


Are entity beans allowed to create() methods?

582