File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Bean in EJB3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Bean in EJB3" Watch "Bean in EJB3" New topic

Bean in EJB3

amarshi mohanty
Ranch Hand

Joined: Jul 01, 2008
Posts: 110
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?


SCJP (97%), SCWCD (95%))
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33132

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Joe carco
Ranch Hand

Joined: Apr 14, 2009
Posts: 82
I quite like the Wikipedia explanation too:
amarshi mohanty
Ranch Hand

Joined: Jul 01, 2008
Posts: 110
Thanks for the wiki link, it was really helpful.
I agree. Here's the link:
subject: Bean in EJB3
jQuery in Action, 3rd edition