REST Applications with Spring Create Scalable REST APIs Using Spring

  • Tomasz Lelek

Your browser needs to be JavaScript capable to view this video

Try reloading this page, or reviewing your browser settings

You're watching a preview of subscription content. Log in to check access

Use Spring to create scalable and fully testable REST APIs. You’ll see that by leveraging your Spring MVC experience you can create RESTful web services without learning a new framework or library. In this video, you will learn more about Spring Boot and its most powerful APIs: REST and DI. Starting with Spring Boot, you will use Maven and Spring Boot Starter Parent to set up your project. You will then gain insights on applying business logic to your APIs by using dependency injection.

What You Will Learn

  • Use Spring Boot with a microservices architecture

  • Create business components and plug them into your app using Spring DI

  • Leverage Spring REST for exposing your logic via a REST API

  • Test your logic with Spring integration tests

Who This Video Is For

Those with basic knowledge of Java programming, who’d like to use Spring for developing RESTful web services.

With your business logic set, you will develop your REST API with the Spring @RestController and make use of Spring’s powerful testing toolkit to test the integration of your application. After going through this course, you will be able to create scalable and fully testable REST APIs to use in your microservices.

About The Author

Tomasz Lelek

Tomasz Lelek is a software engineer, programming mostly in Java and Scala. He has been working with the Spring ecosystem and micro-services for the past five years and has developed production-ready micro-services that run on multiple instances in the Cloud. Tomasz is passionate about nearly everything associated with software development and believes that one should always try to consider different solutions and approaches before solving a problem. He speaks regularly at events such as Confitura and JDD (Java Developers Day) in Poland and is also a key member of the Krakow Scala User Group.


About this video

Tomasz Lelek
Online ISBN
Total duration
35 min
Copyright information
© Tomasz Lelek 2019

Related content

Video Transcript


Welcome in the Developing Rest Applications with Spring. My name is Tomasz Lelek. And I am a software engineer. You can find me using tomekl007 handle on Twitter or GitHub. So in this course, we’ll learn how to create robust Spring REST APIs. But to achieve that, we need to make a couple of steps– repeat. But to achieve that, we need to finish couple of steps that will happen before that. So let’s look at them.

So firstly, we will learn how to use Spring Boot with Micro-Services Architecture. So we will create a Spring app with all the dependencies. Then we will be creating business components. And we’ll plug them into your application, using Spring Dependency Injection. Once we will have that, we will leverage Spring REST API for exposing your logic via REST API.

So we will plug everything together from the REST API to the underlying database. Finally, we’ll be testing logic with Spring Integration tests. So we’ll create end-to-end tests use that will allow us to test whole logic that we create.