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 / rajshekaran pillai

In case of a Stateful session bean a state called passive
state exists in its life cycle. The EJB container uses a
lease recently used algorithm to decide to passivate the
bean i.e move it from memory to secondary storage. Whenever
the client calls any business method on the bean it is
activated.
Whereas a stateless session bean is never passivated

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is @injectmock?

905


What do you mean by ejb ql?

970


Define Initial Context?

956


What is activemq used for?

900


What is jar, war, and ear?

1050


What is ejb javatpoint?

929


Explain the concept of local interfaces?

897


Can you be deported if you are stateless?

835


What is ejb context?

933


What is Enterprise JavaBeans (EJB)?

953


What is ejb and its properties?

905


Can remove() be a Stateless Session bean?

1035


What are the differences between ejb 3.0 and ejb 2.0?

930


What is the procedure for the creation of stateless ejb?

921


What are the different kind of ejb's?

948