What is the basic difference between JavaBeans and Enterprise JavaBeans?
JavaBeans are a set of conventions and APIs for creating reusablesoftware components. The primary benefit is for visual developmentenvironments, which can use the JavaBeans specifications to manipulatesoftware components and allow the programmer to associate events withactions. Whereas JavaBeans provide a component architecture forapplications, Enterprise JavaBeans provide a component architecturefor distributed transaction-oriented applications.
The EnterpiseJavaBeans specification defines the interfaces through whichenterprise components interoperate and the contracts that allow toolsfrom different vendors to be used to develop applications using thesame third-party components.