If you are a Spring Boot developer, you must have come across the 'application.properties' or 'application.yml' file. Needless to say, these files reduces your development effort by minimizing the amount of XMLs that you were writing in a standard Spring based project. Moreover, we accommodate the common properties of our project in the form of key-value pairs in these files. Therefore, it becomes more than important to know all about these files. These are application properties file with the extension of either '.properties' or '.yml'. Hence, our topic for this article is 'How to Write Spring Boot Application Properties Files'. Furthermore, Spring Boot already provides some of the ready-made keys that we use most of the times in our project. Sometimes,
Tag: @PropertySource
Spring Boot Annotations With Examples
Prior to Annotations, the Spring Framework's configuration was largely dependent on XMLs. Using XML configurations was not only a tedious process, but also an error-prone. If you committed any syntactical mistake in XML, sometimes it takes time to fix. But now-a-days annotations, particularly Spring Boot Annotations provide us remarkable capabilities in configuring Spring Framework's behavior. Moreover, Annotations caused major changes in programming style and slowly making the XML-based configurations outdated. The Java Programming introduced support for Annotations from JDK 1.5. However Spring Framework started supporting annotations from the release 2.5. Obviously, we are going to discuss about Spring Boot Annotations With Examples and their usages. Here in this article on 'Spring Boot Annotations With Examples', we will discuss about all annotations