Creating the source code

We have installed and configured everything that's necessary to create our microservice to manage the registry of players. Now it's time to write the code that's needed to expose our microservice APIs.

We will use the Spring Initializr project generator utility (https://start.spring.io/) in order to get a project skeleton to work on. Our microservice, as we described previously, will have to display the APIs that allow us to perform CRUD operations.

To implement our microservice, we will use the following components:

  • Web: This contains all the modules needed for full web development with a Tomcat servlet container and Spring MVC.
  • Actuator: This provides production-ready features, to help you monitor and manage your ...

Get Hands-On Cloud-Native Microservices with Jakarta EE now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.