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


Please Help Members By Posting Answers For Below Questions

What are the different kind of ejb's?

535


What is session bean?

541


What is ejb container?

676


What are the basic and subtypes of enterprise java beans (ejb)?

531


What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?

542






Define Context?

596


What is ejb context?

541


how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?

2449


What is backing bean?

601


What is bean-managed persistence?

576


What is ejb and its properties?

522


Who took over ejb?

592


What are the advantages of java beam?

519


What is the purpose of ejb in java?

536


How can I access ejb from asp?

584