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 is ejb 3?
Is soap stateless or stateful?
What are the callback annotations for entity bean?
What is ejb container?
What are the different kind of ejb's?
How is ejb different from java beans?
What are the advantages of ejb components?
What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?
How many types of session beans are available in ejb?
Which services are provided to ejb components by the ejb container?
What is meant by ejb?
What is the full form of ejb in java?
What is ejb and its uses?
can u explain about design patterns like singleton,builder,factory
What is the difference between @requestparam and @pathvariable?