quarkus:是否为 JSF 扩展
quarkus: extension or not for JSF
我想将 JSF 添加到 Quarkus 中。
我已经包含了 servlet-api (quarkus-undertow
)。
我的问题是:
我在 pom.xml
中需要适当的扩展名(例如,https://github.com/tandraschko/quarkus-myfaces) or is it enough to put only the the JSF-Mojarra
-library (https://javaserverfaces.github.io/)吗?
<!-- run jsf in quarkus -->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-undertow</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>2.4.0</version>
</dependency>
如果我需要 JSF 的扩展才能在 quarkus 中工作,有没有我可以使用的 官方 quarkus-jsf
-扩展?
在 Quarkus 中仅使用纯 JSF-Mojarra
-库时是否有任何注意事项?
您需要我的 quarkus-myfaces 扩展程序 (https://github.com/tandraschko/quarkus-myfaces) 才能获取它 运行。
Quarkus 需要扩展,例如自定义 CDI 范围(如 JSF 中的 ViewScoped),因此如果没有 Quarkus 上的扩展,JSF 将无法工作。
据我所知,没有可用的 mojarra 扩展程序。
更新:
我将 'personal' 扩展移至 MyFaces Core,我们已经准备好 2.3-next-M1 版本。
该展示可在此处获得,并且已使用已发布的版本:https://github.com/apache/myfaces/tree/master/extensions/quarkus/showcase
我想将 JSF 添加到 Quarkus 中。
我已经包含了 servlet-api (quarkus-undertow
)。
我的问题是:
我在 pom.xml
中需要适当的扩展名(例如,https://github.com/tandraschko/quarkus-myfaces) or is it enough to put only the the JSF-Mojarra
-library (https://javaserverfaces.github.io/)吗?
<!-- run jsf in quarkus -->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-undertow</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>2.4.0</version>
</dependency>
如果我需要 JSF 的扩展才能在 quarkus 中工作,有没有我可以使用的 官方 quarkus-jsf
-扩展?
在 Quarkus 中仅使用纯 JSF-Mojarra
-库时是否有任何注意事项?
您需要我的 quarkus-myfaces 扩展程序 (https://github.com/tandraschko/quarkus-myfaces) 才能获取它 运行。
Quarkus 需要扩展,例如自定义 CDI 范围(如 JSF 中的 ViewScoped),因此如果没有 Quarkus 上的扩展,JSF 将无法工作。
据我所知,没有可用的 mojarra 扩展程序。
更新:
我将 'personal' 扩展移至 MyFaces Core,我们已经准备好 2.3-next-M1 版本。
该展示可在此处获得,并且已使用已发布的版本:https://github.com/apache/myfaces/tree/master/extensions/quarkus/showcase