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 ejb and its properties?

0 Answers  


What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?

0 Answers  


What are the attributes of transaction in ejb?

0 Answers  


What are the differences between ejb 3.0 and ejb 2.0?

0 Answers  


What are stateless functions?

0 Answers  


What do you mean by abstract schema?

0 Answers  


What transaction attributes does Java Bean containers support?

1 Answers  


How the container will maintain synchronization for multiple calls to the entity bean?

1 Answers   HCL,


Tell me difference between Container managed persistent bean & Bean managed persistent bean?

1 Answers   KPIT,


Can a client interact with an JavaBean directly? Explain?

1 Answers  


For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?

0 Answers  


How 'messaging' supported in EJB 2.0 Specification?

1 Answers  


Categories