O'Reilly logo

Hands-On High Performance with Spring 5 by Dinesh Radadiya, Prashant Goswami, Pritesh Shah, Subhash Shah, Chintan Mehta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

First microservice with Spring Boot

The following are the details of the microservice that we are going to develop:

  • We will implement an accounting service as a microservice.
  • The microservice will be REST-based. It is an architectural pattern for developing web services. It focuses on identifying each resource in the application with a unique URL.
  • We will identify the Spring Boot starter project that we will need and generate the Maven pom.xml file accordingly.
  • We will implement an Account class with a few basic properties.
  • We will implement AccountRepository with the find-by-name example method.
  • We will implement the controller class, which has a repository auto-wired. The controller exposes the endpoints.
  • We will also implement a way ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required