Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How to generate ejb stubs in eclipse?

1362


Define SessionContext ?

1125


What is singleton session bean?

1086


What is the difference between Session bean and Entity bean?one?

1187


What is the procedure of ejb container to handle exceptions?

1019


What are the advantages of ejb components?

1145


How does ejbs work?

966


How can a CORBA object, accessed from a EJB?

2338


What is the difference between ejb and spring?

1108


What are the different types of ejb?

1043


Why do we need ejb in java?

1058


Can more than a single table be mapped in cmp?

1067


Is microservice stateless?

962


What is stateless and stateful session bean in ejb?

1004


What is enterprise bean provider?

1096