Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.25 KB

README.md

File metadata and controls

56 lines (36 loc) · 2.25 KB

Jakarta REST Example

build

The repository has already been upgraded to Jakarta EE 11.

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

Prerequisites

  • Java 21
  • The latest Apache Maven 3.x or 4.x

Build

  1. Clone a copy of the source codes.

    git clone https://github.com/hantsy/jakartaee-jaxrs-sample
  2. Run on Glassfish.

    mvn clean package cargo:run -Pglassfish
  3. Run Integration Tests against Arquillian Glassfish Managed Adapter

    mvn clean verify -Parq-glassfish-managed

Reference