The Spring Framework has come a long way. Nowadays, it is way easier to start a Java project with the Spring Framework using Spring Boot. In the past, we used
This post demonstrates how to trim string values from .properties files using SpringApplicationBuilder and a subclass of or anonymous class of StandardEnvironment supplied to the builder with overridden getProperty(String) and getProperty(String, String) methods.
A .properties file contains lines of string pair. Each string pair consists of a parameter name (called the key), and parameter value. This post is about how to validate the parameter value at the application startup.
This post demonstrates how to embed an ActiveMQ instance in Spring Boot and produce/consume messages with a simple example.
This post demonstrates how to render an XML to a file from a given XML template using Spring Boot and Thymeleaf.
This post demonstrates how to convert your Spring Boot web application to a deployable WAR file for Tomcat.
This post demonstrates how loading data from an SQL script for a particular database platform. This is ideal for development stage when you need some seed data to fill in existing database tables.
With Spring Boot, a lot of beans get loaded into the ApplicationContext depending on your dependencies selection. This post shows a code snippet used to list all the beans loaded in the ApplicationContext.
This post demonstrates a basic use-case for using Apache Camel with Spring Boot – copy a file to another directory. This basic example will enable you to understand other concepts.
I’m working on some personal project that handles 4 different user types (e.g., students, instructors, registrar employees, security personnel). Each user type are stored in a separate user table. With this, I require four (4) login forms.