Two important presentation layer technologies of J2EE: JSP and JSF released a preview version of the new technology specification. The most important thing is that the two adopt the Expression Language (EL) partially merged into one. In the near future, these two technologies may be further integrated to form a unified presentation layer technology. However, in the general view of the J2EE community, JSP is not the best choice if it is just a view technology. template-based view technologies such as Velocity and XSLT are generally more convenient than JSP; component-based JSF also faces a wide crisis of trust. Whether the combination of the two can be recognized by the industry also takes time to test.
The following are official announcements:
We are very happy to announce to you that the development of Faces under the cyclerver Pages and JSR-245. extends erver Pages (JSP) 2.1 and the Early Draft Review release of the new version specification of JavaServer Faces (Faces) 1.2 developed under the JSR-252.
JSP 2.1 outputs Expression Language (EL) to its own separate documents. Technically, these documents are sub-documents of JSP specifications. These unified EL specifications define a higher-level java package, javax. el. This package is completely independent from the technology that uses it and allows it to insert itself into the EL processing process. The modified JSP specification complies with the standardized EL specification.
For the JSR-252 mentioned above, this specification has no new features. Faces 1.2 supports the new standard EL and also contains some bug fixes.
The association between Faces and JSP under JSRs has brought about some new features and laid a solid foundation for future development. For example, in a web application that uses both Faces and JSP, it is possible that a webpage only uses JSP (without any faces content) to access Managed Beans. You can see the details of the changes 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/