With the continue development of enterprise informalization, a large quantity of enterprise have developed the own enterprise management information system, which have greatly prompted the level of enterprise informalization. Traditional enterprise management information system mainly adopts 2-tier architecture(C/S model). C/S model is a good method to build software system in a specific and independent environment,but with the enlargement of enterprise business and the request of Internet development, nowadays the software architecture of the enterprise management information system is a distributed multitiers software architecture. J2EE(Java 2 Platform Enterprise Edition J2EE) released by Sun Microsystems Inc, is an architecture that defined the standards for developing component-based multitiers enterprise applications. It uses a 4-level model for web development. The browser runs on the client displaying HTML and optionally runs JavaScript. The middle tier is comprised of two layers: a Presentation Layer and a Business Logic Layer. The data tier manages persistent data in a database. Multitiers architecture provides good mechenism for building flexible and maintainable application system. The paper introduces J2EE architecture firstly, and then, the importance of design patterns and the advantage of developing object-oriented application using design patterns are discussed. With following, some important design patterns used on J2EE architecture are described, and the way how to use these design patterns to design an enterprise management information system is introduced. After that, the concept of application framework is introduced and the advantage of developing enterprise business application using the application framework is described. Finally, the paper make a research and a design of a common framework established on J2EE platform. The common framework uses the abstract solution of data persistence, and is able to realize object-relationship mapping automatically. In addition, it can also accomplish the business service automatically. The common framework create a developing environment and we can establish the application using it. With the help of the developing environment, we can develop application rapidly. |