Posts within the Java category

Featured image for "Mastering Spring boot Actuator"
Java

Mastering Spring boot Actuator

In this tutorial I'll cover why Spring boot actuator allows you to write proper production-grade Spring boot applications.

Read more →
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.

Read more →
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.

Read more →
Featured image for "Difference between Mono and Flux"
Java

Difference between Mono and Flux

Project Reactor introduced us two specific types of publishers, being Mono and Flux. In this tutorial we'll see what they mean and what we can use them for.

Read more →
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.

Read more →
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.

Read more →
Featured image for "Reactive streams over the network with RSocket"
Java

Reactive streams over the network with RSocket

With RSocket, we can reactively stream our data over the network. In this example I'll demonstrate how RSocket can be used with Spring boot.

Read more →
Featured image for "Reactive relational databases with R2DBC and Spring"
Java

Reactive relational databases with R2DBC and Spring

With Spring boot's experimental starter for R2DBC, we can now reactively connect to our relational databases, and in this example we'll see how.

Read more →
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.

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 →