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

Is it possible to share an httpsession between a jsp and ejb?

918


Differentiate Conversational from Non-conversational interactions?

1039


What are the components of session beam?

1076


What is ejb in java?

1010


In what format is the conversational data written to the disk?

1002


What is remote interface in ejb?

975


How can a CORBA object, accessed from a EJB?

2274


What is mdb in ejb?

961


Is soap stateless or stateful?

1015


what is mean by OLE ? Please answer me. Advance thanks.

2745


How does ejb container work?

964


What does ejb stand for?

1052


What is the difference between session and entity beans? When should I use one or the other?

979


Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?

1073


What is use of @postconstruct?

956