Introduction to several open-source JSP development frameworks

Source: Internet
Author: User

The following describes several open-source JSP development frameworks.

WebWork

Developed by OpenSymphony, WebWork is a pull-over MVC J2EE Web framework dedicated to componentization and code reuse. Currently, the latest version of WebWork is 2.1, and the predecessor of WebWork2.x is the WebWork developed by Rickard Oberg. However, WebWork has been split into two projects: Xwork1 and WebWork2. Xwork is concise, flexible, and powerful. It is implemented in a standard Command mode and completely isolated from the web layer. Xwork provides many core functions: front-end interceptor), form attribute verification during runtime, type conversion, powerful expression Language OGNL-the Object Graph Notation Language), IoCInversion of Control inversion Control) containers. WebWork2 is built on Xwork to process HTTP responses and requests. WebWork2 uses ServletDispatcher to map the HTTP request to the Action (business layer Action class), session) application, and request parameter ing. WebWork2 supports multi-view representation. JSP, Velocity, FreeMarker, JasperReports, and XML can be used in the view section. Added AJAX support in WebWork2.2, which is built on the basis of the DWR and Dojo frameworks.

Struts

Struts is an MVC framework based on the Sun J2EE platform. It is mainly implemented using Servlet and JSP technologies. Because Struts can fully meet the needs of application development, it is easy to use and agile, and has received a lot of attention in the past year. Struts integrates Servlet, JSP, custom tags, and message resources into a unified framework. Developers do not need to code themselves to implement a full set of MVC patterns during development, it saves a lot of time, so Struts is a very good application framework.

EasyJWeb

EasyJWeb is an MVC framework that is based on java technology and applied to the rapid development of WEB applications. The framework design concept comes from many domestic project practices, the framework fully signs the popular open-source Web frameworks Struts, JSF, Tapestry, and Webwork. It draws on its advantages and essence and uses Velocity as the template page engine, is an MVC development framework that completely isolates pages and code. Is a simple Web framework that can quickly develop small and medium-sized Web application systems.

Through the supporting development Tools provided by EasyJWeb Tools, you can quickly develop Web applications based on the EasyJWeb framework, including self-generated code of common application software and CRUD of database addition, deletion, modification, and query) code Generation, automatic page template generation, and configuration file management.

Framework features:

1. Support for configuration-free files. In the past, every time we came into contact with a development framework, we always had to be overwhelmed by its configuration files. EasyJWeb supports Zero Configuration. You can build your application on the basis of the framework without writing a configuration file. Suitable for small website systems ).

2. Simple template page design support: discard jsp and use the simple Velocity script language as the page template.

3. completely separated page programs: the display page and program logic are completely separated, which overcomes the difficulty of maintaining traditional jsp pages.

4. Page component-based framework. Flexible page component configuration, you can directly set field-level event components through the configuration file.

5. Quick Development Support: With EasyJWeb Tools, you can automatically generate application software template code, customize and manage your own J2EE code template, code Generation templates support the most popular practical Java development frameworks (such as hibernate and Spring) for rapid development

SiteMesh

SiteMesh is a webpage layout and modification framework. It can be used to separate the webpage content from the page structure to share the page structure. Sitemesh is a framework based on Web page layout, decoration, and integration with existing Web applications. It helps us create consistent page layout and appearance in projects composed of a large number of pages, such as consistent navigation bar, consistent banner, consistent copyright, and so on.
It can not only process dynamic content, such as jsp, php, asp, but also static content, such as htm content, so that its content meets the requirements of your page structure. It can even embed an HTML file into another file as a panel like include.

JSPWidget

JSPWidget is a Jsp development framework that provides event-driven, view state retained ), server GUI control allows JSP development to be as intuitive as in traditional form clients and client-based web applications.

  1. Introduction to JSP development framework FastJSP
  2. Comparison between JSP development framework and Servlet-based Tapestry
  3. Learning the basic concepts of JSP: Nine implicit objects
  4. JSP data paging instance: MySQL Paging
  5. JSP Database Operations routine JDBC-ODBC)

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.