commit | 5a0c624f77b8208b5756a8c389c0443518189e25 | [log] [tgz] |
---|---|---|
author | Volodymyr Siedlecki <volosied@gmail.com> | Thu Jun 23 15:36:59 2022 -0400 |
committer | Volodymyr Siedlecki <volosied@gmail.com> | Thu Jun 23 15:36:59 2022 -0400 |
tree | f55cbd450140264611d461c9ee27cf46ac9d7251 | |
parent | 389484d3050fdb06f25f06c490c3092932829e87 [diff] |
[maven-release-plugin] prepare release myfaces-core-module-4.0.0-RC1
Apache's implementation of the JavaServer Faces (JSF) and Jakarta Faces specification
Upcoming Jakarta Faces 4.0 implementation.
The upcoming Jakarta Faces 3.0. It's equals to JSF 2.3 but with “jakarta.faces” packages and constants instead of “javax.faces”.
2.3-next is a completely refactored codebase compared to 2.3. 2.3-next equals the JSF 2.3 API but delegates @ManagedBeans to CDI. ManagedBeans configured via XML are completely ignored. The implementation of the old FacesEL (javax.faces.el.*) also has been completely removed. It will be the base of the upcoming JSF 4.0.
JavaServer Faces 2.3 implementation
Servlet 4.0 will enable JSF to serve resources via HTTP/2 push.
mvn clean install
<dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-api</artifactId> <version>2.3-next-M3</version> </dependency> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-impl</artifactId> <version>2.3-next-M3</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version="3.1"> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping> </web-app>
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html"> <h:head> </h:head> <h:body> Hello World! </h:body> </html>
Since 2.3-next a Quarkus extension is available. A sample project can be found here: https://github.com/apache/myfaces/blob/master/extensions/quarkus/showcase/
Uber-JARs are not supported by design