Java, Software Development, Spring

Spring MVC – How To Test For View Name

This post briefly demonstrates how to test for a view name in Spring MVC.

Read More...

Java, Software Development, Spring

Read From Multiple Properties Files In Spring Boot

This post demonstrates how to read properties from multiple .properties files in Spring Boot.

Read More...

Java, Software Development, Spring

Spring Boot – How to unit test RESTful API URLs

This post demonstrates how to unit test RESTful API URLs using Spring Boot 1.5.10RELEASE. We basically just want to ensure the list of URLs still work and match what has been documented per specification.

Read More...

Angular, Java, Software Development, Spring

Spring Boot Upload Multiple Files From Angular

This post shows working code fragments that upload files from a web browser.

Read More...

Java, Software Development, Spring

Spring Dependency Injection Examples Without Spring Boot

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

Read More...

Java, Software Development, Spring

Trim String Values From Properties Files in Spring Boot

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.

Read More...

Java, Software Development, Spring

Validate Properties Files At Startup in Spring Boot

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.

Read More...

Software Development, Spring

Spring Boot – Embedded ActiveMQ

This post demonstrates how to embed an ActiveMQ instance in Spring Boot and produce/consume messages with a simple example.

Read More...

Software Development, Spring

Render XML using Thymeleaf

This post demonstrates how to render an XML to a file from a given XML template using Spring Boot and Thymeleaf.

Read More...

Java, Software Development, Spring

Convert Spring Boot to Deployable WAR for Tomcat

This post demonstrates how to convert your Spring Boot web application to a deployable WAR file for Tomcat.

Read More...