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
How to generate ejb stubs in eclipse?
Define SessionContext ?
What is singleton session bean?
What is the difference between Session bean and Entity bean?one?
What is the procedure of ejb container to handle exceptions?
What are the advantages of ejb components?
How does ejbs work?
How can a CORBA object, accessed from a EJB?
What is the difference between ejb and spring?
What are the different types of ejb?
Why do we need ejb in java?
Can more than a single table be mapped in cmp?
Is microservice stateless?
What is stateless and stateful session bean in ejb?
What is enterprise bean provider?