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...


Where a bean can be used ?



Where a bean can be used ?..

Answer / john

An EJB is used to create business applications for any
e-commerce web sites.
But there are different EJBs
1) Statless Session Bean
2) Stateful Session Bean
3) Entity Bean
4) Message Bean

Depending on their functionality of each of the above
mentioned beans different requirements can be satisfied.
Therefore EJBs can be used for a wide variety of business
applications

example
Stateless Session Bean - used to check if a credit card is
valid or not when a credit card is swiped in the machine.
since there is just one trtansaction involved no need
maintain the state of the bean

Stateful Session Bean - used in online shopping websites
like ebay, amazon where the state of the client has to be
maintained. The user can do different operation during a
single logon but the items in the users shopping cart should
never be lost.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More EJB Interview Questions

what is mean by API ? Please answer me. Advance thanks.

2 Answers   Excel,


What is difference between ejb 1.1 and ejb 2.0?

0 Answers  


Where is ejb used?

0 Answers  


Why does EJB needs two interfaces, Home and Remote Interface?

4 Answers  


Is it possible to share an httpsession between a jsp and ejb?

0 Answers  


What is the difference between ejbcreate() and ejbpostcreate?

0 Answers  


How to determine two identical beans?

1 Answers  


Can more than a single table be mapped in cmp?

0 Answers  


What are the design principles for ejb?

0 Answers  


What’s the difference between hibernate and ejb 3?

0 Answers  


What are the various types of entrepreneur java bean?

0 Answers  


What is session bean?

0 Answers  


Categories