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
Is it possible to share an httpsession between a jsp and ejb?
Differentiate Conversational from Non-conversational interactions?
What are the components of session beam?
What is ejb in java?
In what format is the conversational data written to the disk?
What is remote interface in ejb?
How can a CORBA object, accessed from a EJB?
What is mdb in ejb?
Is soap stateless or stateful?
what is mean by OLE ? Please answer me. Advance thanks.
How does ejb container work?
What does ejb stand for?
What is the difference between session and entity beans? When should I use one or the other?
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
What is use of @postconstruct?