J2EE design mode Reading Notes (1)-presentation layer mode

Source: Internet
Author: User

Presentation layer mode

Decorator (dynamically add functions to the front-end controller, filter)
Front-end controller (create a unified and centralized component to execute public functions-intercept all requests, struts)
MVC (break down the expression layer into several reusable parts of self-contained, struts)
Composite view (create an attempt based on several reusable sub-views, tiles)
Service Worker (decouples the navigation function from the front-end controller, Struts and JSF)
View Assistant (converts the model data type to the form of presentation layer, JSP tag)

Performance layer scalability Mode

Asynchronous page (Cache remote data such as RSS data)
Cache filter (cache dynamic pages when pages are generated, implemented in the decorator Mode)
Resource Pool (use a pool of pre-generated objects to reduce the cost of Instantiation and maintenance of large objects)

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.