Facelets introduction, and why Facelets does not use JSP

Source: Internet
Author: User

When using ICEfaces for JSF development, it also supports JSP, Facelets, Portlet, and other technologies.

JSP is well known and is not explained.

Facelets Introduction: Facelets is the abbreviation of the JSF View Definition Framework, namely, the Object-Oriented Java Web application Framework. Facelets supports all jsf ui components and establishes its own component tree to map views to JSF applications. Although JSP and JSF technologies can work well together, Facelets has more advantages. Facelets uses XHTML specifications, saving a lot of JSP Tag; Facelets is similar to the Tiles framework and implements the Template function.

Now we can compare JSP with Facelets:

Advantages of JSP:
1) balance existing JSP applications;
2) many excellent ides support JSP.

Advantages of Facelets:
1) significant improvements in performance and scalability;
2) Quick template/decoration, supporting page reuse;
3) precisely locate error reports;
4) complete support for EL expressions.

Conclusion: Facelets is recommended unless the project is forced to use JSP.

  1. View technology designed for JSF by Facelets
  2. Simple Description of JSF and Facelets
  3. Facelets uses JSF Components
  4. JSF basic framework
  5. Integrate GWT and JSF with G4JSF

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.