Java Tutorial - Java Scipt : Beans

Java Tutorial - Java Scipt :

Beans


Beans are the standard component architecture in Java. Originally introduced with the Java Bean specification to simplify the creation of reusable software components, EJBs (Enterprise Java Beans) are the natural extension of that philosophy on the server side. Unlike JavaBeans, EJBs are managed by a EJB container that handles tasks such as transaction management and security. EJBs are a combination of naming conventions, interfaces, and descriptors. They also come in a variety of flavors, each suitable for a certain subset of common server-side tasks. In the following sections, we’ll break down how they work, examine the relationship between EJBs and their container, and dig into the various types of EJBs.