Latest Posts

How to read a file from the resources folder in a Spring Boot application

This is a quick post that explains how to read a file from the resources folder (Classpath) within a Spring Boot command line application.

Continue Reading

Spring AOP in conjunction with custom annotations

In one of my recent projects, I had the task to clean up existing Java classes regarding a typical cross-cutting concern problem. Access to certain methods within a web application should be logged, basically which user invoked which method using what kind of parameters. This is a situation when Spring AOP with custom annotations can provide a clean solution. In the following post, I will walk you through the entire process using a simplified solution.

Continue Reading

Spring Boot basic secured start project for web development

In this post, I will walk you through the process of creating a minimal Spring Boot web application. I use a starter project like this quite often for checking out new features or creating a proof of concept (POC). The web application will have two separate areas, a publicly accessible site and a user/password secured admin site. This example shows how to create a custom form based login screen using bootstrap 3.

Continue Reading