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?



What are types in SessionBeans?..

Answer / 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

More EJB Interview Questions

How to find ejb version in websphere?

0 Answers  


Name the attributes of javax.ejb.stateful.

0 Answers  


Is soap stateless or stateful?

0 Answers  


Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?

0 Answers  


What are the key features of the ejb technology?

0 Answers  


What are the attributes of transaction in ejb?

0 Answers  


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

2 Answers   HCL,


Name the acid properties of a transaction.

0 Answers  


In what way, the client gets a reference to an existing entity bean?

1 Answers  


When was ejb developed?

0 Answers  


Can stateful session beans are persistent?

2 Answers  


What is meant by manifest files ?

2 Answers  


Categories