Four common frameworks for Java EE development (1)

Source: Internet
Author: User

We have made many introductions to the Java EE Framework. This article will give a systematic summary of the four frameworks commonly used in Java EE.

Struts

Struts is an MVC framework based on the Sun Java EE platform, mainly implemented using Servlet and JSP technologies.

The Struts framework can be divided into the following four main parts, three of which are closely related to the MVC mode:

1. Model is essentially an Action class in Struts (This will be discussed in detail later). developers can implement business logic through it, at the same time, the user request to the Action through the Controller forwarding process is based on the configuration information described by the struts-config.xml file.

2. View is a complete set of JSP custom tag libraries that work with the Controller Servlet. using them, we can quickly create an application system interface.

3. The Controller is essentially a Servlet that forwards client requests to the corresponding Action class.

4. A bunch of sdks used for parsing XML files. Struts uses XML to describe how to automatically generate some JavaBean attributes, in addition, Struts also uses XML to describe the user prompt information in international applications (This achieves the multi-language support of the application system ).


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.