Posts tagged with Spring

Featured image for "Securing your GraphQL API with Spring Security"
Java

Securing your GraphQL API with Spring Security

In this tutorial, I'll show how you can use Spring Security with Spring boot and GraphQL.

Featured image for "Using EhCache 3 with Spring boot"
Java

Using EhCache 3 with Spring boot

Caching is a common operation when developing appllications. Spring provides an abstraction on top of all different caching libraries to make this even easier.

Featured image for "Writing dynamic queries with Spring Data JPA"
Java

Writing dynamic queries with Spring Data JPA

With Spring Data, we can easily write queries usinng @Query. For more dynamic queries, we can use the Example and Specification API, which we'll explore here.

Featured image for "Loading initial data with Spring"
Java

Loading initial data with Spring

With Spring, you can set up your initial data in different ways. In this tutorial we'll discover database migration tools, and other options.

Featured image for "Running your Spring boot application on Kubernetes"
Java

Running your Spring boot application on Kubernetes

Kubernetes has been the way to go to orchestrate containerized applications. In this tutorial, we'll see how we can use Kubernetes with Spring boot.

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.

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.

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.

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?

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.