Latest Posts
Simple Spring Boot CRUD application with Thymeleaf, JPA and Bootstrap
In this post, I will describe a full working example of a simple Spring Boot based CRUD application. The example code uses Thymeleaf Template Engine, Bootstrap 3 and Spring JPA in conjunction with HSQL DB.
Continue ReadingForward referrer to Spring Boot Application when using Nginx as Reverse Proxy
In this post, I will describe how to forward the HTTP referrer to a Spring Boot web application behind a Reverse Proxy (Nginx). The example application will log the referrer and other important information like remote IP address, preferred language and client browser type and version to the file system.
Continue ReadingUse Nginx to host multiple SSL secured websites with one external IP address
In this post, I will describe how to host multiple SSL secured domains on a Linux server with only one external IP address. For a task like this, I usually prefer Nginx as a Reverse Proxy that is used to forward incoming requests to the corresponding backend applications.
Continue ReadingHow 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 ReadingSpring 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 ReadingTags
AOP Apache Kafka Bootstrap Go Java Linux MongoDB Nginx Security Spring Spring Boot Spring Security SSL ThymeleafSearch
Archive
- 1 December 2023
- 1 November 2023
- 1 May 2019
- 2 April 2019
- 1 May 2018
- 1 April 2018
- 1 March 2018
- 2 February 2018
- 1 January 2018
- 5 December 2017
- 7 November 2017
- 2 October 2017