How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

How to Build a RESTful Web Service Using Jakarta EE

calendar_today September 22, 2023 person webdev@eclipse-foundation.org (Eclipse Foundation) domain jakarta-ee

This guide shows you how to use Jakarta EE to make a RESTful web service . To create a RESTful web service using Jakarta EE , we will begin by summarizing what we want to build. We will build a service that will accept an HTTP GET 1 request at http://localhost:8080/restfulservice/hello . It will respond with the following JSON payload, as the following listing shows: { “text” : “Hello from Jakarta EE” } We can then further customize and improve it according to our needs.

open_in_new Read original post