Posts within the Java category

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 "Indexing documents with Spring batch"
Java

Indexing documents with Spring batch

Batch processing is an often occuring taks when developing applications. With Spring boot, you can now easily write batch processes using Spring batch. In this tutorial I'll use Spring batch to index markdown documents into Solr.

Read more →
Featured image for "Setting up Apache Solr with Tika using Docker"
Java

Setting up Apache Solr with Tika using Docker

Indexing documents is quite easy with Apache Solr and Tika. In this tutorial, I'll demonstrate how to configure both and to run them within a Docker container.

Read more →
Featured image for "Writing GraphQL mutations with Spring boot"
Java

Writing GraphQL mutations with Spring boot

Forget REST, get started with GraphQL! In this tutorial I'll be using GrapQL mutations with Spring boot to create a next level API.

Read more →
Featured image for "Working with Spring boot and GraphQL"
Java

Working with Spring boot and GraphQL

Forget REST, start with GraphQL! In this tutorial I'll show you what the benefits are of GraphQL and how you can use GraphQL with Spring boot to create even better APIs.

Read more →
Featured image for "Writing your own Spring boot starter"
Java

Writing your own Spring boot starter

Spring boot comes with many starters that do most of the work for you. The nice thing is that you can also write your own Spring boot starters as well, and in this tutorial, we'll figure out what we need to do to make our own Spring boot starter.

Read more →
Featured image for "Monitoring Spring boot applications with Prometheus and Grafana"
Java

Monitoring Spring boot applications with Prometheus and Grafana

While monitoring is essential, there are various tools on the market to do this. In this tutorial I'll be using Prometheus and Grafana to monitor an existing Spring boot application.

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

Using the Netflix stack with Spring boot: Zuul

Spring boot has several integrations available for Netflix components such as Zuul. In this tutorial I'll demonstrate how Zuul can be used to handle several cross-cutting concerns on a network-based level, such as CORS headers and handling multipart requests.

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 →