ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button

Topic: Enterprise JavaBeans

Migrating from EJB 1.1 to 2.0

In previous articles, we've described the new features of the Enterprise JavaBeans TM (EJBTM) 2.0 specification and the changes those new features bring to the architecture. This article focuses on how enterprise bean developers and application developers can best migrate their application components from the earlier EJB 1.1 architecture to the 2.0 architecture. When appropriate, the article describes how a particular functional area was handled in the EJB 1.1 architecture. It then illustrates how developers can use the new features of the EJB 2.0 architecture to achieve the same functionality. In brief, the EJB 2.0 specification introduces these new features and functionality to the architecture: Message-driven beans Improvements in container-managed persistence Container-managed relationships for entity beans with container-managed persistence Local interfaces Enterprise JavaBeans Query Language (EJB QL) You should refer to the earlier articles for more information on these changes. You should also refer to the JavaTM 2 Enterprise Edition (J2EETM) tutorial. See the following:

Programming Language: Java

Updated: 09/18/2001
Organization: java.sun.com