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 / buddheshwar ojha

BY rahul ojha
A stateful session bean maintains state between client and the statefulbean for a duration of time and once state is end it end session completely it also maintains data persistency(database).(Shoping card etc...)

A stateless session bean does not maintain conversation state for a longer time Instance variables used by a method of a stateless bean may have a state, but only for the duration of the method invocation. After a method has finished running either successfully or unsuccessfully, the states of all its instance variables are dropped.(HTTP , telephone line conversation etc...).

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 meant by ejb?

1003


Is soap stateless or stateful?

1056


What ejb means?

982


What are the attributes of transaction in ejb?

1026


What is stateful or stateless?

1027


Why do we use @requestmapping?

1044


What do you mean by in-memory replication?

1113


What is the meaning of acid in the connection of transaction management?

1102


What is ejb container?

1203


How to generate ejb stubs in eclipse?

1371


How ejb invocation happens?

1093


What is the difference between ejb and spring?

1113


Is state maintained by a Stateless bean?

1096


What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?

1030


What is ejb context?

1033