JavaBean - an API for objects which expose their properties via standard naming convention (getXXX(), setXXX(), isXXX()). These properties can be determined at runtime via reflection and introspection. For true JavaBeans, they should be Serializable and have a default constructor. The orginal intent was to make them easy for tooling (tools could discover their properties, expose them to configuration, etc.).
EJB - an "enterprise" api for distributed objects. Provides a standard approach to building such objects and allowing an EJB container (EJB application server) to manage the lifecycle of the beans. EJB's provide persistance, scalability, and distributed transaction support (via the container).
2007-01-23 12:22:39
·
answer #1
·
answered by vincentgl 5
·
0⤊
0⤋
The Java type is what you write your code in. The Java bean is a particular sort of Java type that has to have particular particular approaches. whilst a Java type might properly be written for terribly almost any customary purpose, the Java bean type is meant to be written as a application in a Java-based GUI device. additionally observe that an corporation Java Bean is a few thing entirely distinctive from those 2.
2016-11-01 02:04:11
·
answer #2
·
answered by ? 4
·
0⤊
0⤋