Posts tagged with REST

Featured image for "Using CSRF with Springfox"
Java

Using CSRF with Springfox

When using Springfox with CSRF, some issues may arise. In this tutorial I'll show you how you can solve these.

Read more →
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 "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 →
Featured image for "Documenting your REST API with Swagger and Springfox"
Java

Documenting your REST API with Swagger and Springfox

REST services are pretty great to allow reuse of your operations, however, to become reusable, you'll have to properly document the available endpoints in your REST API. A popular standard, that is used for this, is Swagger.

Read more →
Featured image for "Consuming REST API's with Spring"
Java

Consuming REST API's with Spring

Spring boot became quite popular as a framework for microservices. In this tutorial I will show you how to produce and consume REST API's with Spring boot.

Read more →
Featured image for "Producing REST API's with Spring"
Java

Producing REST API's with Spring

Spring boot became quite popular as a framework for microservices. In this tutorial I will show you how to produce and consume REST API's with Spring boot.

Read more →