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 do you mean by ‘hot deployment’ ?

1044


Is having static initializer blocks legal in ejb?

924


Explain the important elements of ejb?

963


How to create ejb project in eclipse?

977


Is udp stateless?

985


What is entity bean?

1085


What is the use of @ejb annotation?

966


What is @injectmock?

925


can u explain about design patterns like singleton,builder,factory

2322


Enlist the enterprise beans types?

1039


What is ejb context?

965


How does ejb container work?

945


What is the use of @resource?

1051


How can enterprise javabeans be accessed from active server pages?

1013


What are transaction isolation levels in ejb?

1007