Answer Posted / sathya
Stateless SessionBean
Stateful Session Bean
The former,as the name suggests, doesn't maintain state
across sessions , each bean is independent , genereally a
pool of stateless beans are created and each bean returns to
this pool once its taks is completed.
Stateful Beans on other hand, maintains the session across
the states and returns to the pool once the session is timed
out.
can be used for database operations although not recommended.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Enlist the declarative transaction types?
A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?
Define SessionContext ?
How does ejbs work?
What is singleton session bean?
How is consistency maintained by Stateful Session through transaction updates ?
What are transaction isolation levels in ejb?
What is EJB object?
Name the acid properties of a transaction.
Explain transaction and various methods to manage it?
Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?
Is ejb a framework?
What is the full form of ejb in java?
TX operation funtion executed by?
Is udp stateless?