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
What do you mean by in-memory replication?
What are the attributes of transaction in ejb?
What are ejb containers?
Explain the important elements of ejb?
Where is ejb used?
Define ripple effect?
Is microservice stateless?
Is having static initializer blocks legal in ejb?
What is the difference between ejbcreate() and ejbpostcreate?
What is the difference between session and entity beans? When should I use one or the other?
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
What is ejb in java?
Explain transaction and various methods to manage it?
What is an ejb platform?
What are the types of ejb?