Skip to content

hantsy/jakartaee-rest-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

698 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jakarta EE REST Example

build

This repository has been updated to Jakarta EE 11. Compared to the Jakarta EE 10 version, this branch includes:

  • Jakarta EE API updated to 11.0.0 and GlassFish upgraded to 8.0.0
  • All EJB code replaced with CDI equivalents
  • Use of Java record types where appropriate

Previous releases

For even earlier examples (prior to Jakarta EE 8), check these repositories:

Prerequisites

  • Java 21
  • Apache Maven 3.x or 4.x (latest)

Building and running

  1. Clone the repository:

    git clone https://github.com/hantsy/jakartaee-jaxrs-sample
  2. Start the application on GlassFish:

    mvn clean package cargo:run -Pglassfish
  3. Execute the integration tests using the Arquillian GlassFish managed adapter:

    mvn clean verify -Parq-glassfish-managed

Reference

About

Jakarta EE 11 REST Example Project

Topics

Resources

License

Stars

28 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages