+91-9894109618 [email protected]

Spring Boot – Events & Listeners

Application Listener in Spring Boot bases its events handling on beans implementing org.springframework.context.ApplicationListener interface. It defines only one method, onApplicationEvent which is trigerred when an event is sent. This interface can be generic by specifying the event to which it has to be applied. Spring will filter itself which…

Spring Boot – Dev Tools

What does Spring Boot Devtools (Development Tools)? To make developers life easy, Spring Boot includes an additional set of tools that can help reduce development time and have some pleasant time in programming. The spring-boot-devtools module can be included in any project to provide additional development-time features….

Spring Boot – Starters

Spring Boot Application Starters Spring boot application starters are a set of required dependency description added for execution of project. It’s a kind of predefined template or one-stop shop for all the Spring and related technologies dependency description. For example, if you want to get…

Spring Boot – Getting Started

Spring Boot makes it easy to create stand-alone, production-grade Spring-based Applications that you can run. We take an opinionated view of the Spring platform and third-party libraries, so that you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration….

Maven – External Dependency

How do I use external dependencies? Dependency management is a core feature of Maven. Managing dependencies for a single project is easy. Managing dependencies for multi-module projects and applications that consist of “n” number of modules is also possible. Maven helps a lot in defining,…

Maven – Filter Resources

How do I filter resource files? Our project sometimes need to fill up or filter resource files using maven during the build time. To accomplish this in Maven, put a reference to the property that will contain the value into your resource file using the syntax ${<property…

Maven – Resources

How do I add resources to Maven Project? Resources are not (usually) code. They are not compiled, but are items meant to be bundled within your project or used for various other reasons. Every Java project contains a folder named resources, different type of projects…

Maven – Configuring Plugins

Maven plugins configuration can be done by specifying a <configuration> element where the child elements of the <configuration> element are mapped based on plugin fields. Types of Plugin In Maven, there are 2 types of plugin available, Build plugins will be executed during the build and then, they should be…