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 import ejb project in eclipse?

0 Answers  


what are main features in EJB?

2 Answers  


What does @singleton annotation do?

0 Answers  


How does ejb container work?

0 Answers  


What is @injectmock?

0 Answers  


how can we decide a session bean as stateless or stateful without seeing jar file? i.e. by seeing the class file.

3 Answers  


What is the use of @resource?

0 Answers  


What are the different types of ejb?

0 Answers  


What is bean-managed persistence?

0 Answers  


What is activemq used for?

0 Answers  


What is ejb javatpoint?

0 Answers  


What optimization could I use if the ejb container is the only point of write access to the database?

0 Answers  


Categories