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 are types in SessionBeans?

Answer Posted / sathya


Stateless SessionBean

Stateful Session Bean

The former,as the name suggests, doesn't maintain state
across sessions , each bean is independent , genereally a
pool of stateless beans are created and each bean returns to
this pool once its taks is completed.

Stateful Beans on other hand, maintains the session across
the states and returns to the pool once the session is timed
out.
can be used for database operations although not recommended.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define ACID Properties?

1033


What is meant by ejb?

953


What are the various types of entrepreneur java bean?

958


What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

993


What are versions of ejb?

1066


How do you decide whether you should use session, entity or message driven bean?

1040


What is the use of @ejb annotation?

975


What is the procedure for the creation of stateless ejb?

975


What is @enableautoconfiguration?

1043


What is mdb?

1067


What is an ejb container?

967


How can one EJB be called from within another EJB?

990


What is @autowired required false?

1039


List down the steps for the demonstration of ejp persistence mechanism.

1098


What’s new in the ejb 2.0 specification?

1041