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 are the different kind of ejb's?
What is session bean?
What is ejb container?
What are the basic and subtypes of enterprise java beans (ejb)?
What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?
Define Context?
What is ejb context?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
What is backing bean?
What is bean-managed persistence?
What is ejb and its properties?
Who took over ejb?
What are the advantages of java beam?
What is the purpose of ejb in java?
How can I access ejb from asp?