JSP 2.1 and JSF 1.2 Spec release preview version _jsp programming

Source: Internet
Author: User

Two important presentation layer technologies for Java EE JSP and JSF released a preview version of the new technology specification, the most important one being that they combined the expression language (Expression Language,el) part. In the near future, the two technologies are likely to be more integrated into one another and become a unified presentation layer technology. However, in the general view of the Java-EE community, JSP is not the best choice as a view technology alone, and template-based view techniques such as velocity and XSLT are generally more convenient than JSP, and component-based JSF faces a widespread trust crisis. Whether the combination of the two can be recognized by the industry, it will take time to test.

Here's the official announcement.


We are pleased to announce that the JavaServer pages, JSR-245 under the Faces.javaserver pages (JSP) 2.1 and JSR-252 developed under the JavaServer Faces (Faces) 1.2 of the new specification of the early Draft Review released.

JSP 2.1 Outputs Expression Language (EL) to its own separate document, which technically is a subdocument of the JSP specification. These unified El specifications define a higher-level Java package, Javax.el. This package is completely independent of the technology that uses it and allows the technology to insert itself into the El process. The changed JSP specification complies with the specification for standardized el.

For the JSR-252 mentioned earlier, this specification has no new features. Faces 1.2 supports the new standardized El and includes some specifications for bug fixes.

Faces and JSP in the JSRS under the alliance has brought some new features, but also for the future development of a solid foundation. For example, in a Web application that uses both faces and JSP, it is possible for a Web page to access managed beans using only jsps (without any faces content). The details of the changes are visible in Appendix E of the JSP specification and in the preface to the faces specification.

   JSP 2.1 EDR (JSR-245)
     http://jcp.org/aboutJava/communityprocess/edr/ jsr245/
   Faces 1.2 EDR (JSR-252)
     http://jcp.org/aboutJava/ communityprocess/edr/jsr252/

Related Article

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.