Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bean in EJB3

 
amarshi mohanty
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
What exactly is a bean, just an instance of a class which implements the methods of a business interface or something else also?

Thanks,
Amarshi
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An EJB is a special class that works with an application server container. The container knows how to inject resources and add wrappers for security/transactions. An EJB is identified with an annotation or in an XML file so the container knows it is special.
 
Joe carco
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I quite like the Wikipedia explanation too: http://en.wikipedia.org/wiki/Ejb
 
amarshi mohanty
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the wiki link, it was really helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic