O'Reilly logo

Spring Microservices by Rajesh RV

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

Developing a RESTful service – the legacy approach

This example will review the traditional RESTful service development before jumping deep into Spring Boot.

STS will be used to develop this REST/JSON service.

Note

The full source code of this example is available as the legacyrest project in the code files of this book.

The following are the steps to develop the first RESTful service:

  1. Start STS and set a workspace of choice for this project.
  2. Navigate to File | New | Project.
  3. Select Spring Legacy Project as shown in the following screenshot and click on Next:
    Developing a RESTful service – the legacy approach
  4. Select Spring MVC Project as shown in the following diagram and click on Next:
  5. Select a top-level ...

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