ABSTRACT
Three-tier/multi-tier architecture is the main structure of today’s large scale
enterprise application. To build a robust, multi-tier, open-architecture and reusable
distributing enterprise application is the frontier subject of system development.
Framework is a reusable design component which provides application system
architecture and explains the dependent relation, responsibility distribution, control
processes between whole design and collaborated components. Framework can also be
said is a group of abstract classes and collaborated methods of the abstract class instants.
Framework provides the context for components to be reused. This paper is from the
framework as a starting point and researches the component’s advantage and
disadvantage of J2EE multi-tier architecture framework. The paper also analyzes a
variety of opensource framework such as web-tier framework, persistence-tier
framework, and business-tier framework. Finally, this paper proposes a general, robust,
secure distributed system framework based on all the frameworks that have been
demonstrated above.
This paper firstly introduces the concept of J2EE multi-tier system architecture and
analyzes various application components especially JSP, EJB. Also, this paper analyzes
the communication way and the coupling degree between every tier.
Secondly, this paper analyzes currently popular frameworks such as Web layer
frameworks and persistence layer frameworks. Before talking about the Web
frameworks this paper analyzes MVC pattern which is adopted in Web application
development currently. Then, this paper researches Struts and Webwork which realizes
MVC pattern. two Web-tier framework components and principles are analyzed.
Consequently, after comparing the merits and shortcomings of four persistence tools
such as JDO, Entity EJB, IBatis, Hibernate, the paper focus on the Hibernate structure,
programming interfaces, the core API and work principle.
Lastly, this article proposes a new multi-tier framework based on J2EE. The
framework combines various good components technologies such as Servlet, JSP, EJB,
advanced hierarchical thinking and the merits of other frameworks. The framework
adopts many design patterns in designing the business layer, overcoming many
problems which exist in J2EE architecture.
The article detailed describes the IP business analysis and control system which
realizes the multi-tier framework that has been proposed. The system separates Web
layer and business layer successfully, decoupling business layer and database layer.
The topic adopts Java technology, following RUP process and absorbing the
advanced theories and technologies in current object-oriented development area. Major
achievements are as following:
1 The system realizes a true sense of multi-tier system architecture. Through
packaging the business logic in EJB components, EJB components can concentrate on
the logic business and only provide interfaces for presentation layer to invoke. EJB
components don’t consider the interaction with the database system and only invoke the
interfaces which have been provided by persistence layer.