https://github.com/daggerok/jersey-servlet-weld-log4j2
Using Grizzly Jersey, Weld SE CDI 2.0, Filters from Servlet API and Log4j2
https://github.com/daggerok/jersey-servlet-weld-log4j2
grizzly grizzly-http-server jersey jersey-cdi2-se jersey-filter jersey2 log4j2
Last synced: 3 months ago
JSON representation
Using Grizzly Jersey, Weld SE CDI 2.0, Filters from Servlet API and Log4j2
- Host: GitHub
- URL: https://github.com/daggerok/jersey-servlet-weld-log4j2
- Owner: daggerok
- Created: 2019-11-20T04:38:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T04:43:57.000Z (over 5 years ago)
- Last Synced: 2025-01-10T00:44:41.874Z (5 months ago)
- Topics: grizzly, grizzly-http-server, jersey, jersey-cdi2-se, jersey-filter, jersey2, log4j2
- Language: Java
- Size: 56.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jersey-servlet-weld-log4j2 [](https://travis-ci.org/daggerok/jersey-servlet-weld-log4j2)
Using Grizzly Jersey, Weld SE CDI 2.0, Filters from Servlet API and Log4j2## classpath
```bash
./mvnw clean compile
java -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -cp "target/dependency/*:target/classes" daggerok.App
#./mvnw clean dependency:copy-dependencies compile jar:jar
#java -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -cp "target/dependency/*:target/*" daggerok.App
http :8080/api/hello
http :8080/index.html
http :8080/not-found
http :8080/
```## java
```bash
./mvnw clean package
java -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -jar target/*-all.jar
http :8080/api/hello
http :8080/index.html
http :8080/not-found
http :8080/
```## resources
* [MVC templates](https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest/user-guide.html#mvc)
* [Jersey reference](https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest/user-guide.html)
* [Posting HTML form](https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest/user-guide.html#d0e2417)
* https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest/modules-and-dependencies.html
* https://github.com/eclipse-ee4j/jersey/blob/master/examples/cdi-webapp/pom.xml
* https://projects.eclipse.org/projects/ee4j.grizzly/developer