Posts tagged with Spring

Featured image for "Testing your REST controllers and clients with Spring"
Java

Testing your REST controllers and clients with Spring

Spring allows you to easily develop REST API's and clients. With MockMvc and MockRestServiceServer, the same easiness can be applied to your tests as well.

Read more →
Featured image for "Containerizing your Spring boot application with Docker"
Java

Containerizing your Spring boot application with Docker

The world of DevOps is here. In this tutorial I'll be writing a Spring application and wrap it inside Docker containers.

Read more →
Featured image for "Using WebSockets with Spring boot"
Java

Using WebSockets with Spring boot

With WebSockets we can have a two-way server-client communication. Today we'll explore how you can benefit from WebSockets in a CRUD application.

Read more →
Featured image for "Validating the input of your REST API with Spring"
Java

Validating the input of your REST API with Spring

Writing a RESTful webservice with Spring is easy, even easier with Spring Boot. But did you also know that validation is quite easy as well with Spring?

Read more →
Featured image for "Securing Spring boot applications with JWT"
Java

Securing Spring boot applications with JWT

JWT is a popular type of token. In this tutorial I'll show you how to integrate a JWT authentication mechanism with Spring, and within a microservice oriented architecture.

Read more →
Featured image for "Getting started with Spring boot 2.0"
Java

Getting started with Spring boot 2.0

Explore the new reactive features of Spring boot 2.0 and Spring 5 with me by writing a web crawler using Webflux and reactive MongoDB.

Read more →
Featured image for "Using the Netflix stack with Spring boot: Hystrix"
Java

Using the Netflix stack with Spring boot: Hystrix

What happens when something fails in an application and it keeps failing? In this article I'll show you how you can have more control using Hystrix.

Read more →
Featured image for "Using the Netflix stack with Spring boot: Ribbon"
Java

Using the Netflix stack with Spring boot: Ribbon

Last time, I gave a basic introduction into the concepts of microservices. In this tutorial we'll explore how Netflix helps us with calling microservices using Ribbon.

Read more →
Featured image for "Using the Netflix stack with Spring boot: Eureka"
Java

Using the Netflix stack with Spring boot: Eureka

When you talk about Java and microservices, chances are that you'll stumble upon the Netflix stack. In this example I'll use Spring boot with Eureka.

Read more →
Featured image for "Exploring contract first options with Swagger"
Java

Exploring contract first options with Swagger

In the great world of SOA we know something like "contract first development", in which we initially describe the web service (using WSDL) and later on implement the service based on that definition. In this article I will explore the options we have with Swagger and Springfox.

Read more →