Example of the use of embedded jetty REST server in an application using dependency injection and Jackson for the serialization/deserialization.
- Clone the repository
- Go to the directory "jetty-embedded"
- mvn clean package
- mvn exec:java
Checks the request to server using curl:
curl http://localhost:8090/things