how can we decide a session bean as stateless or stateful
without seeing jar file? i.e. by seeing the class file.
Answer Posted / hemalatha
Session beans are non-persistent enterprise beans. They can
be stateful or stateless. A stateful session bean acts on
behalf of a single client and maintains client-specific
session information (called conversational state) across
multiple method calls and transactions. It exists for the
duration of a single client/server session. A stateless
session bean, by comparison, does not maintain any
conversational state. Stateless session beans are pooled by
their container to handle multiple requests from multiple
clients.
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
TX operation funtion executed by?
Explain transaction and various methods to manage it?
How can a session bean be configured for transactions of bean-managed?
What is difference between ejb 1.1 and ejb 2.0?
What is the procedure of ejb container to handle exceptions?
List down the steps for the demonstration of ejp persistence mechanism.
What is ejb in spring?
What is jar, war, and ear?
Which is more beneficial: Stateful or Stateless Bean?
Define Context?
How is consistency maintained by Stateful Session through transaction updates ?
What is backing bean?
What is ejb application?
What is ejb 3?
Differentiate “find a method” from “select method” in EJB ?