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

TX operation funtion executed by?

2685


Explain transaction and various methods to manage it?

949


How can a session bean be configured for transactions of bean-managed?

1089


What is difference between ejb 1.1 and ejb 2.0?

993


What is the procedure of ejb container to handle exceptions?

968


List down the steps for the demonstration of ejp persistence mechanism.

1079


What is ejb in spring?

905


What is jar, war, and ear?

1129


Which is more beneficial: Stateful or Stateless Bean?

981


Define Context?

1052


How is consistency maintained by Stateful Session through transaction updates ?

1167


What is backing bean?

1033


What is ejb application?

935


What is ejb 3?

923


Differentiate “find a method” from “select method” in EJB ?

980