The repository has already been upgraded to Jakarta EE 11.
- For the Jakarta EE 10 version, please check the EE10 archive or EE10 tag.
- For the Jakarta EE 8 version, please check the EE8 archive and EE8 tag.
For the example projects before Jakarta EE 8, check the following repositories instead.
Compared to the previous Jakarta EE 10 version, the following changes are applied:
- Update Jakarta EE API to 11.0.0 and Glassfish to 8.0.0
- Replace all EJB codes with pure CDI codes
- Use record type as possible
- Java 21
- The latest Apache Maven 3.x or 4.x
-
Clone a copy of the source codes.
git clone https://github.com/hantsy/jakartaee-jaxrs-sample
-
Run on Glassfish.
mvn clean package cargo:run -Pglassfish
-
Run Integration Tests against Arquillian Glassfish Managed Adapter
mvn clean verify -Parq-glassfish-managed