EJB 1.1 attempts to provide a high degree of application compatibility for enterprise beans that were written for the EJB 1.0 specification. Principally, the deployment descriptor of EJB 1.0 based enterprise beans must be converted to the EJB 1.1 XML format. However, the EJB 1.0 enterprise bean code does not have to be changed or re-compiled to run in an EJB 1.1 container, except in the following situations:
The client view of an enterprise bean is the same in EJB 1.0 and EJB 1.1. This means that enterprise beans written to EJB 1.1 can seamlessly interoperate with those written to EJB 1.0, and vice versa. |