Research on J2EE-based layer-3 B/S Information System

Source: Internet
Author: User
Tags data structures
With the increase of the scale and complexity of software systems, the selection of software architecture is more important than the selection of data structures and algorithms, the three-tier customer/server architecture provides a good framework for the integration of enterprise resource planning and is the best choice for establishing an enterprise-level management information system. With the development of the architecture, the architecture of the software framework is also evolving. Java technology and. different solutions of net technology implementation, each of which has its own advantages and disadvantages and is applicable to the requirements of systems of different sizes.
This article describes the architecture of the three-tier model based on the implementation of the management information system of China Telecom planned construction, and introduces the Distributed Component Technology of the application system based on the three-tier model, this article describes how to use the J2EE framework to implement the application system.
1. System structure selection
1. Disadvantages of the traditional two-layer C/S structure
The traditional two-layer client/server model is suitable for running small-scale, few users, and a single database in a secure and fast network environment (such as a LAN. However, as the scale of application systems continues to expand and the complexity increases in the multi-user, multi-database and non-secure network environments (such as the Internet), this two-layer application model will not be able to adapt. In addition, the traditional two-layer structure still has the following defects:
(1) it is a single server with a LAN as the center, so it is difficult to expand to large-scale enterprise wide area network or Intranet;
(2) restricted by suppliers, the supplier must re-develop and expand the program upgrade and maintenance;
(3) software and hardware combinations and integration capabilities are limited; a fat client is displayed on the software. You must install specific client applications on the client, in addition, the business logic of the enterprise is written in the client application, which makes program maintenance difficult. To upgrade the program, each client needs to install a new client application. At the same time, for the program developer, the reusability of program modules is poor, and each module is relatively independent;
(4) it is difficult to manage a large number of clients in the C/S mode.
Based on the above reasons, the traditional C/S model can no longer meet the needs of development. With the popularization of network technology and the further improvement of user needs, the three-layer WEB model emerged.
2. Advantages of layer-3 WEB architecture
The three-tier customer/server mode (hereinafter referred to as the three-tier mode) adds a new level based on the two-tier mode. This mode logically divides the application functions into three layers: customer display layer, business logic layer, and data layer. The customer display layer is a graphical interface that provides application services for customers and helps users understand and efficiently locate application services. The business logic layer is located between the display layer and the data layer. It provides a clear layer for implementing the business logic of an enterprise. At this layer, it encapsulates the application model associated with the system, separate the user presentation layer from the database code. This layer provides connections between customer applications and data services. The main function is to execute application policies and encapsulate application modes, and present the encapsulated modes to customer applications. The data layer is the lowest layer in the three-tier mode. It is used to define, maintain, access, and update data, manage and satisfy data requests of application services.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.