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

explain why we say stateless beans does not maintain
conversation state besides statefull maintains conversation
state. give some examples...

Answer Posted / madhu

We say stateless beans do not maintain state, simply because
it doesn't. Please read below.

As we all know web based interaction is mostly HTTP based
which is a stateless protocol. Statelessness is defined in
simple terms as, does not keep track of previous
conversation. That means, each and every request is
independent of the other.

Stateless or stateful session beans are no exception and
they are HTTP based as well or work in conjunction with such
front end mechanisms (such as JSPs, Servlets, ASPs etc..).
So unless otherwise, we specifically maintain that state,
all the beans would remain stateless.

In the case of Stateful session beans, we maintain it in the
form of parameter value, which is maintained through out the
session.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a local interface?

1223


in EJB diclare the static methods are not?

3512


What is stateless and stateful session bean in ejb?

1007


What are ejb components?

1048


Is soap stateless or stateful?

1056


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?

1241


What are the system services of ejb container?

1135


What is the difference between @requestparam and @pathvariable?

1037


What do you mean enterprise javabeans (ejb) container?

1197


Are entity beans allowed to create() methods?

1098


How to generate ejb stubs in eclipse?

1370


What is ejb home object?

1078


What is bean-managed persistence?

1104


How is consistency maintained by Stateful Session through transaction updates ?

1243


What are the callback annotations for entity bean?

1060