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 is meant by manifest files ?

2 Answers  


What are versions of ejb?

0 Answers  


What is stateless authentication?

0 Answers  


Transaction Attributes? What is the use of ?RequiresNew?

1 Answers   HCL,


Is it possible to write two EJBs that have different bean classes, but they share same Remote interface and Home interfaces?

1 Answers  


Explain the architectural relationship between EJB & XML?

1 Answers   Wipro,


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

0 Answers  


What are ejb components?

0 Answers  


What is meant by ejb?

0 Answers  


ejb session beans and entity beans?

1 Answers  


How is ejb different from java beans?

0 Answers  


What is stateless ejb?

0 Answers  


Categories