Introduction to some common frameworks in JSP Mall development

Source: Internet
Author: User

Struts, like Tomcat, turbine and many other Apache projects, is open source software, which is one of its great advantages, so that the Java Marketplace Products and JSP mall developers can have a deeper understanding of its internal implementation mechanism. In addition, the advantages of struts in Java Mall development are mainly embodied in two aspects: Taglib and page navigation. Taglib is the tag library of struts, which is more flexible and can greatly improve the development efficiency. In addition, for the current domestic JSP developers, in addition to the use of JSP comes with common tags, rarely develop their own tags, perhaps struts is a good starting point. With more than 6 years of development, struts is currently the most user-focused, development team and community-hottest framework for rapid development of small and medium-sized projects.

Tapestry is an open source Servlet-based application framework that uses the Component Object model to create dynamic, interactive Web applications in JSP Marketplace development. A component is any HTML tag with a Jwcid attribute. What JWC means is that Java Web Component.tapestry makes Java code completely separate from HTML, making it easy to use this framework to develop large applications. And the developed application is easy to maintain and upgrade. Tapestry supports localization, and its error reporting is detailed. Tapestry mainly uses JavaBean and XML technology to develop, is a component-based, event-driven framework, the concept is very advanced, want to achieve similar to desktop program development of the kind of convenient mode. But its learning curve is steep, it takes time to master it. It is suitable for large-scale project development, and with the accumulation of components, the more components that can be reused in the late development, the faster the development speed.

The

   spring Web MVC Framework is designed around Dispatcherservlet, which assigns requests to handlers with configurable handler mappings, view resolution, local language, topic resolution, and upload file support. The default handler is a very simple Controller interface, with only one method Modelandview HandleRequest (request, response). Spring provides a controller hierarchy that can derive subclasses. If your application needs to process user input forms, you can inherit abstractformcontroller. If you need to process a multi-page input into a form, you can inherit Abstractwizardformcontroller.spring provides the east, using the spring IOC, but also very powerful, but feel it is closer to the lower level, there are many things to pay attention to.

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.