New Date and Time API in Java 8
Date and Time API in Java prior to Java 8 always scare the ordinary developers due to inadequate support for the date and time use cases. Before Java 8, the classes (such as java.util.Date and SimpleDateFormatter) aren’t thread-safe, leading to potential concurrency issues for user which made…
Spring Boot – Custom Banner
Setting Spring Boot Custom Banner What is Banner? Banner can be a plain text or image that is displayed while starting up any spring boot application, which would be something like below by default. . ____ _ __ _ _ /\\ / ___’_ __ _…
Maven – Multiple Repository
Guide to Setting Up Multiple Repository in Maven Setting up multiple repository in Maven can be achieved using two ways. Specify in a POM which repositories you want to use Specify by creating a profile in settings.xml Note: What is Maven Repository – is discussed…
Maven – Multi Modules
Guide to Build Multi Module Project using Maven Maven Multi Module concept is used when we have one or more project dependent on one another or each other. At the end of this article, you will be able to create complex, multi-module project using Maven….
Spring Boot – Logging
Logging in Spring Boot uses Apache Commons Logging for all internal logging but leaves the underlying log implementation open. The Commons Logging (JCL) provides a Log interface that is intended to be both light-weight and an independent abstraction of other logging toolkits. We shouldn’t worry about…
Spring Boot – Profiles
Guide to Spring Boot Profiles Spring Boot Profiles provide a way to segregate parts of your application configuration and make it be available only in certain environments. Profiling can be implemented using multiple ways in Spring Boot. Let’s see possible ways of loading profiles. This…
Maven – Build Profiles
Guide to Maven Build Profiles Build profiles are elements available in the POM, and are triggered using variety of ways. Profiles are created for customizing build based on requirement, environment, property file, JDK, System OS and etc,. Profiles will also minimize the use of -f option of maven…
Spring Boot – YAML
YAML stands for “YAML Ain’t Markup Language“ YAML is built from the ground up to be simple to use. At its core, a YAML file is used to describe data. One of the benefits of using YAML is that the information in a single YAML file…
Spring Boot – Properties file – I
Spring Boot – Managing Properties File or Externalized Configuration Properties file plays a vital role in configuring application as any changes to application file doesn’t requires recompilation of code. In Spring Boot, managing properties is simple and we have multiple ways to achieve it. Spring…
Spring Boot – ApplicationRunner
What is use of Spring Boot ApplicationRunner Interaface? Spring bootApplicationRunnerInterface is used to execute specific lines of code/task just before the Spring Boot Application starts-up. ApplicationRunnerand CommandLineRunnerinterfaces work in the same way and offer a single run method, which is called just before SpringApplication.run(…) completes. How Spring boot ApplicationRunner interface Works?…