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
What do you mean by ejb ql?
What are the different kind of ejb's?
What is applicationscoped?
What are the advantages of ejb?
What happens when I change a value in the httpsession from inside an ejb?
What is EJB server provider?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface
What is software architecture of ejb?
What were entity beans?
What is ejb and its uses?
What is session bean?
Should services be stateless?
Define Initial Context?
What is a stateless session?
What is the meaning of acid in the connection of transaction management?