| Enterprise application tends to be more complicated now. It involves many resources, deals with a lot of transactions, has volumes of data, serves many users, and needs more security. Middleware technology, especially object middleware technology can simplify the development of enterprise applications. Object middleware technology is combination of the OO technology and the distributed computing technology. It's the tendency of the middleware technology.This article mainly studies how to use EJB / J2EE middleware technology to develop enterprise application and to meet high-reliability, high-availability, extensibility and security properties, which is essential to enterprise applications. Based on the Public Transportation MIS system the author researched and developed, this article studies using EJB / J2EE middleware technology to develop enterprise application. The study work and fruits of the study are described as the following.This article discusses what is enterprise application, features of the application development platform. It analyses middleware technology and its characteristics. It points out the importance of middleware technology in enterprise application development. This article studies the EJB architecture and its programming model. It deeply studies the design issues of session bean and entity bean. Some common problems in designing and implementing session bean and entity bean have been listed and the solutions for these problems had been given. And all the solutions mentioned are applied successfully in the Public Transportation MIS system. This article analyses and studies the three-tier architecture, which is based on the EJB / J2EE middleware technology. Based on three-tier architecture, the author takes the Public Transportation MIS system as an example to discuss the designing of each tier. It points out the problems we must dealt with in designing and discusses how to use three-tier architecture to design and build a flexible and extensible system architecture that meets the enterprise application's requirement. |