The two have nothing to do with each other.
Java Beans are a convention on how to name fields and their respective accessor methods (getters and setters), while Enterprise JavaBeans (
EJB) are a technology for executing and persisting Java objects (which is implemented by servers such as
JBoss, WebSphere, Weblogic). It is unfortunate that Sun chose the name EJB for this technology, because it is regularly cause for confusion.
BTW, is "Tal Tal" a valid screen name? We have a
policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Shoudl yours not conform with it, please take a moment to change it, which you can do
right here.