Author Archive


How to Enable Color in Spring Boot Console Log

Spring boot supports color coding of logging output displayed on the console. This enables us to quickly identify any errors or warnings logged by spring boot system. On most systems color coding works automatically. However if you are using a Mac terminal, you will find that no color coding is applied to the spring boot […]

How to Create a Fat Jar Using Maven

Maven is a popular build tool for Java projects. Using Maven it is possible specify all the third party dependencies of a project. During Java compilation, Maven adds these dependency library jars  automatically to the classpath. Maven can also be used to package a project as a distributable jar library. However when you package a […]

What is New in Spring Boot 2.0

Spring Boot 2 is a major upcoming release (scheduled for November 2017) with a number of dependency upgrades. Spring boot requires a more recent version of the following tools and frameworks. Spring Boot 2 requires spring framework 5 or above. Spring framework 5 now requires Java 8 and Java EE 7 API. It also has […]

How to Generate all Permutations of a String in Java

The following Java program generates all the permutations of a string. It also eliminates any duplicate strings generated. This program can be used to generate anagrams. Note that the following program generates permutations in a case insensitive manner. Hence original case of the input string is not preserved in the permutations. The following program uses […]

How to Change Log Level in Spring Boot

Spring boot has no mandatory dependency on any of the logging implementations. Spring boot only depends on commons logging API interface.  Commons logging API is a very thin bridge between logging clients and logging implementations. This enables application and framework writers to decouple application logging from actual logging implementations. Spring boot follows this approach and  […]