Posts within the Java category

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.

Featured image for "Handling forms with Spring Web and JSR-303"
Java

Handling forms with Spring Web and JSR-303

Handling forms is a common task in web development. In this article I'll demonstrate how to use Spring and JSR-303 bean validation to create proper forms.

Featured image for "Internationalization (i18n) with Spring"
Java

Internationalization (i18n) with Spring

In this article I will explain how you can use internationalization (i18n) to your Spring boot applications using properties and programmatical approaches.

Featured image for "Mapping with Dozer"
Java

Mapping with Dozer

Dozer is a simple bean mapping framework, which allows you to convert an object of a specific type, to an object of another type.

Featured image for "Mapping beans with MapStruct"
Java

Mapping beans with MapStruct

Object mapping is a common practice in developing apps when you need to get across the different tiers. MapStruct is a framework for mapping objects.

Featured image for "Handling errors with Spring MVC"
Java

Handling errors with Spring MVC

When developing applications, error handling is a common job. With Spring MVC you can easily handle exceptions using a few annotations.

Featured image for "JPA made easy with Spring data's repositories"
Java

JPA made easy with Spring data's repositories

With Spring Data it's very easy to create a simple CRUD application without the hassle of creating your own DAO's. Spring Boot makes it even easier for you.

Featured image for "Writing your first Spring webapp with Spring Boot"
Java

Writing your first Spring webapp with Spring Boot

Spring boot changed the Java and Spring landscape. In this tutorial I'll write a small Spring webapp in about 70 lines of Java code.

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

Securing your REST API with Spring Security

In this tutorial I'm going to write a small REST API with Spring Boot and Spring Web MVC. Securing the application will be done with Spring Security.

Featured image for "Testing modern web applications"
Java

Testing modern web applications

There are a lot of aspects that have to be covered while testing modern web applications. In this tutorial series I would like to talk about these aspects.