Java EE architecture and javaee Architecture

Source: Internet
Author: User

Java EE architecture and javaee Architecture

The Java EE architecture generally includes the following layers:

1. Domain Object Layer: This layer is mainly composed of abstract Object models (also known as POJO and Plain Old Java Object ), it generally includes the business logic methods required by each other. Generally, the statuses of these object models must be stored in the database to provide persistence support;

2. DAO (Database Access Object) layer: This layer is composed of a series of DAO components to complete CRUD (create, query retrieve, update, delete) operations on the Database;

3. Business logic layer: This layer is composed of a series of business logic objects that implement the logical methods required by the system, these business logic methods may only be used to expose the business logic methods implemented by the Domain Object, or the business logic methods implemented by DAO. For implementation;

4. Controller layer: This layer is mainly composed of controller components. The controller is used to intercept user requests and forward the requests to their corresponding business logic methods. It processes user requests, and forward the processing results to different presentation layer components;

5. Presentation Layer: This layer consists of a series of view components, including JSP pages and Velocity pages. This layer collects user requests and displays the processing results to users;

Java EE components are loosely coupled to each other. From top to bottom, the upper-layer components depend on the lower-layer components. from bottom to top, the lower-layer components provide support for the upper-layer components,

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.