Skip to content

hantsy/jakartaee-rest-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jakarta EE JAXRS Sample

compile and build

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

Build

  1. Clone a copy of the source codes.

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

    mvn clean package cargo:run -Pglassfish
    
    mvn clean verify -Parq-glassfish-maanged

Reference