Automatic Property Expansion with Spring Boot 1. Overview In this article, we’ll explore the property expansion mechanism provided by Spring through Maven and Gradle build methods. 2. Maven ==== 2.1. Default Configuration For Maven projects using the spring-boot-starter-parent, there is no need for extra configurations to make use of property… Continue Reading spring-boot-auto-property-expansion

Introduction to Spring Data MongoDB 1. Overview This article will be a quick and practical introduction to Spring Data MongoDB. We’ll go over the basics using both the MongoTemplate as well as MongoRepository using practical examples to illustrate each operation. Further reading: Geospatial Support in MongoDB Have a look at… Continue Reading spring-data-mongodb-tutorial

@Before vs @BeforeClass vs @BeforeEach vs @BeforeAll 1. Introduction In this short tutorial, we’re going to explain the differences between the @Before, @BeforeClass, @BeforeEach and @BeforeAll annotations in JUnit 4 and 5 – with practical examples of how to use them. We’ll also cover briefly their @After complementary annotations. Let’s start… Continue Reading junit-before-beforeclass-beforeeach-beforeall

Performance of Java Mapping Frameworks 1. Introduction Creating large Java applications composed of multiple layers require using multiple models such as persistence model, domain model or so-called DTOs. Using multiple models for different application layers will require us to provide a way of mapping between beans. Doing this manually can… Continue Reading java-performance-mapping-frameworks