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
The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?
Enlist the declarative transaction types?
How can one EJB be called from within another EJB?
Explain the concept of local interfaces?
What is use of @postconstruct?
Why should we use ejb?
Is microservice stateless?
What is ejb technology?
What are stateless applications?
What is difference between ejb 1.1 and ejb 2.0?
What is passivation and activation in ejb?
How does ejb container work?
What is the difference between message driven beans and stateless session beans?
What is stateless session?
What is the difference between session and entity beans? When should I use one or the other?