Guiced Servlets - JSF

Configures Guice Servlet for JSF

Лицензия

Лицензия

Категории

Категории

Jakarta Server Faces Jakarta EE The Web Tier GUI Взаимодействие с пользователем Guice Библиотеки уровня приложения Dependency Injection
Группа

Группа

com.jwebmp.guicedee.servlets
Идентификатор

Идентификатор

guiced-servlets-jsf
Последняя версия

Последняя версия

0.68.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Guiced Servlets - JSF
Configures Guice Servlet for JSF
Ссылка на сайт

Ссылка на сайт

https://github.com/GedMarc/Guiced-Servlets-JSF
Организация-разработчик

Организация-разработчик

Marc Magon
Система контроля версий

Система контроля версий

https://github.com/GedMarc/Guiced-Servlets-JSF.git

Скачать guiced-servlets-jsf

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.jwebmp.guicedee.servlets/guiced-servlets-jsf/ -->
<dependency>
    <groupId>com.jwebmp.guicedee.servlets</groupId>
    <artifactId>guiced-servlets-jsf</artifactId>
    <version>0.68.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.jwebmp.guicedee.servlets/guiced-servlets-jsf/
implementation 'com.jwebmp.guicedee.servlets:guiced-servlets-jsf:0.68.0.1'
// https://jarcasting.com/artifacts/com.jwebmp.guicedee.servlets/guiced-servlets-jsf/
implementation ("com.jwebmp.guicedee.servlets:guiced-servlets-jsf:0.68.0.1")
'com.jwebmp.guicedee.servlets:guiced-servlets-jsf:jar:0.68.0.1'
<dependency org="com.jwebmp.guicedee.servlets" name="guiced-servlets-jsf" rev="0.68.0.1">
  <artifact name="guiced-servlets-jsf" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.jwebmp.guicedee.servlets', module='guiced-servlets-jsf', version='0.68.0.1')
)
libraryDependencies += "com.jwebmp.guicedee.servlets" % "guiced-servlets-jsf" % "0.68.0.1"
[com.jwebmp.guicedee.servlets/guiced-servlets-jsf "0.68.0.1"]

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
com.jwebmp.guicedee.servlets : guiced-servlets jar
com.jwebmp.guicedee.servlets : guiced-undertow jar
com.jwebmp.jpms.commons : commons-io jar
org.glassfish : javax.el jar 3.0.1-b11
javax.enterprise : cdi-api jar 2.0.SP1
javax.servlet.jsp : javax.servlet.jsp-api jar 2.3.3
javax.servlet.jsp.jstl : jstl-api jar 1.2

test (6)

Идентификатор библиотеки Тип Версия
com.jwebmp.guicedee.servlets : guiced-servlets test-jar 0.68.0.1
org.junit.jupiter : junit-jupiter-api jar 5.5.0
org.hamcrest : hamcrest-all jar 1.3
org.assertj : assertj-core jar 3.12.2
org.mockito : mockito-core jar 3.0.0
com.h2database : h2 jar 1.4.199

Модули Проекта

Данный проект не имеет модулей.

Guiced-Servlets-JSF

JSF Integration for Guiced Injection Framework. Allows for Faces to execute through the Guice Filter

To configure correctly, add the following to faces-config

<factory>
    <application-factory>com.jwebmp.guicedservlets.jsf.FacesApplicationFactoryWrapper</application-factory>
</factory>

Remember to remove your context path from web.xml or it will be skipped

REMOVE

 <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>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.xhtml</url-pattern>
    </servlet-mapping>

This mapping is performed through the servlet binder

You can change/add URL mappings by configuring GuicedServletJSFBindings or by mapping your own

module.serve$("/faces/", "/faces/*", "*.jsf", "*.faces", "*.xhtml")
		      .with(FacesHttpServlet.class);

This implementation is a merge of http://javaevangelist.blogspot.com/2013/08/jsf-2x-tip-of-day-guice-elresolver.html and https://github.com/skuzzle/guice-jsf and uses the automated configurations of guiced-servlets and guiced-injection

Версии библиотеки

Версия
0.68.0.1
0.67.0.16
0.67.0.15
0.67.0.12
0.67.0.9
0.67.0.7
0.67.0.5
0.67.0.4
0.67.0.3
0.67.0.2
0.67.0.1