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

Can you be deported if you are stateless?

905


What are the different types of ejb?

981


What is singleton session bean?

1042


Which is more beneficial: Stateful or Stateless Bean?

997


What are the design principles for ejb?

922


What is a stateless session?

1020


Does spring use ejb?

978


Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?

1113


What is remote interface in ejb?

981


What is ejb client?

1084


Which is more beneficial: CMP or BMP?

1049


why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

2471


What are the limitations of using local object?

1158


Is soap stateless or stateful?

1017


What is stateless session bean?

1058