The microBean™ Jersey Netty CDI Integration Example Application project provides a simple example application that demonstrates three other projects working in concert:
- microBean™ Jersey Netty Integration
- microBean™ Jersey Netty CDI Integration
- microBean™ Jakarta RESTful Web Services CDI Integration
To demonstrate the application, clone this repository, run mvn package
and then java -jar target/microbean-jersey-netty-example-0.0.4-SNAPSHOT.jar
.
You'll note that all this project defines is a Jakarta RESTful Web
Services Application
subclass and a root resource class, but it is
run and published at 0.0.0.0
on port 8080
.
You can test the root resource class by running curl http://localhost:8080/example/data
.