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

What are the types of ejb?

0 Answers  


Can the primary key in the entity bean be a Java primitive type such as int?

2 Answers   CTS,


How is ejb different from java beans?

0 Answers  


What are the different types of ejb?

0 Answers  


What are stateless applications?

0 Answers  


What is ejb home object?

0 Answers  


When was ejb developed?

0 Answers  


Which is more beneficial: CMP or BMP?

0 Answers  


Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?

0 Answers  


What are the design goals of EJB architecture?

1 Answers  


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

0 Answers  


Explain the difference between, Java Class and Bean?

3 Answers  


Categories