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...

what is the difference between stateless and stateful
sessions?

Answer Posted / anitha

after deploying Stateless bean, Ejb Container creates some
objects and palce it in Object pooling.for each client
request it will get any one object from pool and serve the
client.so that it con't able to store client specific data
while invoking methods.

Where as in Statefull Bean, for each client the Container
creates one Object and serve the Client each request until
client exit.so that it can able to Persist the Client
data.it supports Object Activation and Passivation

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is @injectmock?

924


What is ejb in spring?

900


Match the ejb functions given below with the functionality equivalent in sql?

959


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

2721


What is difference between ejb and spring?

977


How can one EJB be called from within another EJB?

976


What is difference between stateless and stateful?

981


How to invoke ejb from java client?

957


What ejb means?

901


Can remove() be a Stateless Session bean?

1079


What are the design principles for ejb?

905


Why is ejb used?

956


What are the advantages of ejb?

985


What is ejb in java with example?

964


Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?

1093