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
in EJB diclare the static methods are not?
What is session bean?
Is it legal to have static initializer blocks in ejb?
What is @enableautoconfiguration?
Define Context?
What is message-driven bean?
How can a session bean be configured for transactions of bean-managed?
Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?
What causes statelessness?
How ejb invocation happens?
What is rmi and ejb in java?
Why do we need ejb in java?
Can beans who are involved in transaction have 'passivation' process?
What are the differences between ejb 3.0 and ejb 2.0?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?