Updated to Jakarta EE 10, the old Jakarta EE 8 version is archvied.
A Jakarta Restful Web Service Sample application based on the Jakarta EE 8 Starter boilerplate.
This project is the successor of Java EE 8 Jaxrs Sample and Java EE 7 Jaxrs Sample, and updated to the new Jakarta EE 8 API, including:
- Jakarta Restful Web Service
- Jakarta Enterprise Beans/Jakarta Persistence/Jakarta Bean Validation
- Jakarta Context and Dependency Injection
- Jakarta Security Enterprise API
- Microprofile Config API
-
Clone a copy of the source codes.
git clone https://github.com/hantsy/jakartaee-jaxrs-sample
-
Run on Glassfish 10.
mvn clean package cargo:run -Pglassfish mvn clean verify -Parq-glassfish-maanged