aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Bean in EJB3" Watch "Bean in EJB3" New topic
Author

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?

Thanks,
Amarshi


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

Joined: May 26, 2003
Posts: 29220
    
135

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Joe carco
Ranch Hand

Joined: Apr 14, 2009
Posts: 82
I quite like the Wikipedia explanation too: http://en.wikipedia.org/wiki/Ejb
amarshi mohanty
Ranch Hand

Joined: Jul 01, 2008
Posts: 110
Thanks for the wiki link, it was really helpful.
 
wood burning stoves
 
subject: Bean in EJB3
 
Similar Threads
Where does the ejbCreate definition come from
Friday Find-a-word: Caribbean
Handleing multiple rows from an EJB
Bean's management methods...
WA #1.....word association