In this blog post, I want to explore running a Jakarta EE Core profile application on Java SE without an application server. Java/Jakarta Experts — Markus Karg, Rudy De Busscher, and Francesco Marchioni have already blogged and demonstrated how to achieve this on their blog respectively at Coding Microservice From Scratch, Run your Jakarta Application without Runtime and Getting started with Jakarta RESTful Services. I wanted to take this further and explore the possibilities/ways to create a JAX-RS/Jakarta CRUD REST API with the Jakarta Core profile running on Java SE.
The REST service API built in this tutorial is for CRUD Operations (Create, Read, Update, Delete), which corresponds to the standard HTTP methods (POST, GET, PUT, DELETE) and, in this post, used for managing employee data model in the application.