EJB must inherit from a JavaBean.
Both EJB and JavaBean use RMI as their communication mechanism.
Both EJB and JavaBean can store their properties in the database.
Both EJB and JavaBean can be of container-managed and bean-managed persistance types.
EJB requires EJB container for its operation but JavaBean does not.
Both JavaBeans and EJBs are included in the JDK 1.1 and higher.
|