@ConfigurationProperties : Spring Boot's way of handling properties
Hello coders, We are always in quest of improving something or the other in our lifetime, this urge also fits in for technologies as well. We can see many enhancements and updates on each and every technology so as in our favourite Spring Framework. Spring has come a long way ahead since its inceptions.. Yes, the latest buzz word is "SPRING BOOT"!! Though it has made a lot of things easier for a developer, but sometime it debatable. In a nutshell, understanding it deeply is a must. Here, I will be sharing a tiny, may be a tiniest of a configuration annotations @ConfigurationProperties We must have used properties files in almost all of our applications. Spring Boot provides a clean and neat way of using it in applications. Instead of writing the long properties name which is very error-prone (we must have spent lot of time debugging and at last it just a spelling mistake of property name). So, how about creating a class that gets mapped to properties on a file? I...