EnvironmentPostProcessor in Spring Boot 1. Overview As of Spring Boot 1.3, we’re able to use the EnvironmentPostProcessor to customize the application’s Environment before application context is refreshed. In this tutorial, let’s take a look at how to load and transform the custom properties into the Environment, and then access those properties.… Continue Reading spring-boot-environmentpostprocessor

A Guide to JPA with Spring 1. Overview This tutorial shows how to set up Spring with JPA, using Hibernate as a persistence provider. For a step by step introduction about setting up the Spring context using Java based configuration and the basic Maven pom for the project, see this… Continue Reading the-persistence-layer-with-spring-and-jpa

Spring Remoting with Hessian and Burlap 1. Overview In the previous article titled “Intro to Spring Remoting with HTTP Invokers” we saw how easy is to set up a client/server application that leverages remote method invocation (RMI) through Spring Remoting. In this article, we will show how Spring Remoting supports… Continue Reading spring-remoting-hessian-burlap

Multi-Module Maven Application with Java Modules 1. Overview The Java Platform Module System (JPMS) adds more reliability, better separation of concerns, and stronger encapsulation to Java applications. However, it’s not a build tool, hence it lacks the ability for automatically managing project dependencies. Of course, we may wonder whether if… Continue Reading maven-multi-module-project-java-jpms