wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bean in EJB3