Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the open source JSP development frameworks

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the open source JSP development framework, the article is very detailed, has a certain reference value, interested friends must read it!

WebWork

WebWork is a pull-out MVC pattern J2EE Web framework developed by OpenSymphony and dedicated to componentization and code reuse. The current * version of WebWork is 2.1. the predecessor of WebWork2.x is WebWork developed by Rickard Oberg, but now WebWork has been split into Xwork1 and WebWork2 projects. Xwork is simple, flexible and powerful. It is a standard Command pattern implementation and is completely detached from the web layer. Xwork provides many core functions: front-end interceptor (interceptor), runtime form property validation, type conversion, powerful expression language (OGNL-the Object Graph Notation Language), IoC (Inversion of Control inversion control) container and so on. WebWork2 is built on top of Xwork and handles responses and requests from HTTP. WebWork2 uses ServletDispatcher to transform HTTP requests into Action (business layer Action classes), session (session) application (application) scope mapping, and request request parameter mapping. WebWork2 supports multi-view representation, and the view part can use JSP, Velocity, FreeMarker, JasperReports,XML, and so on. Support for AJAX has been added to WebWork2.2, which is based on the frameworks DWR and Dojo.

Struts

Struts is a MVC framework based on Sun J2EE platform, which is mainly implemented by Servlet and JSP technology. Because Struts can fully meet the needs of application development, easy to use, agile and rapid, it has attracted much attention in the past year. Struts integrates Servlet, JSP, custom tags and information resources (message resources) into a unified framework, developers do not have to code their own to achieve a full set of MVC patterns, greatly saving time, so Struts is a very good application framework.

EasyJWeb

EasyJWeb is a MVC framework based on java technology and applied to the rapid development of WEB applications. The framework design idea comes from the practice of many domestic projects. The framework fully signs the main popular open source Web frameworks (Struts, JSF, Tapestry, Webwork), absorbs its advantages and essence, and uses Velocity as a template page engine. It is a MVC development framework that realizes the complete separation of pages and code. It is a simple Web framework that can realize the rapid development of small and medium-sized Web application systems.

Through the supporting development tools provided by EasyJWeb Tools, the rapid development of Web applications based on EasyJWeb framework can be realized, including code self-generation of commonly used application software, CRUD code generation, automatic page template generation, configuration file management and so on.

Features of the framework:

1. Zero matching files are supported. In the past, every time we came into contact with a development framework, we were always troubled by its configuration file at first. EasyJWeb implements zero configuration support, and you can build your application based on the framework without writing a configuration file. (suitable for small website systems).

2. Simple template page design support: give up using jsp and use a simple Velocity scripting language as a page template.

3. The page program is completely separated: the display page is completely separated from the program logic, which overcomes the problem that the traditional jsp page is difficult to maintain.

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

5. Rapid development support: through EasyJWeb Tools, you can automatically generate application software template code, customize and manage your own J2EE code templates, and code generation templates support * * practical Java development frameworks (such as hibernate, Spring, etc.) for rapid development.

SiteMesh

SiteMesh is a framework for layout and modification of web pages, which can be used to separate the content of web pages from the structure of pages in order to achieve the purpose of sharing the structure of pages. Sitemesh is a framework based on Web page layout, decoration and integration with existing Web applications. It can help us create a consistent page layout and appearance in a project made up of a large number of pages, such as consistent navigation bar, consistent banner, consistent copyright, and so on.

It can not only deal with dynamic content, such as jsp,php,asp generated content, it can also deal with static content, such as htm content, so that its content also meets the requirements of your page structure. It can even embed the HTML file as a panel into other files like include.

JSPWidget

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

These are all the contents of the article "what are the open source JSP development frameworks?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report