Posts within the Java category
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.
Read more →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.
Read more →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.
Read more →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.
Read more →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.
Read more →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.
Read more →Testing your Spring Boot application with Selenium
Functional testing never has been easier with Spring Boot and FluentLenium, a wrapper framework for Selenium, using a fluent API.
Read more →Testing your Spring Data JPA repository
Spring Data allows you to create repositories by writing a simple interface. In this article I'll write some integration tests for a repository using DBUnit
Read more →Executing Jasmine tests with Maven
In modern webapps, you will be using more than just Java. You will write JavaScript code too. With Maven + Jasmine you can test your JavaScript code.
Read more →Unit testing with Mockito and AssertJ
Unit testing is a very important part in development. In this example I show you how easy it is, using Mockito and AssertJ.
Read more →