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 ejb bean in java?

1136


How many enterprise beans?

1017


What is @autowired required false?

1078


What do you mean by bean managed transaction?

1106


What is the use of @ejb annotation?

1023


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

1048


What does statelessness mean?

1080


How does ejb invocation happens?

1045


How to invoke ejb from java client?

1030


What is @enableautoconfiguration?

1084


What are the advantages of ejb?

1085


Is ejbCreate() method mandatory while defining a Session Bean?

1130


What is singleton session bean?

1090


What is difference between ejb and spring?

1054


What are versions of ejb?

1113