1.

Where do we define properties in the Spring Boot application?

Answer»

You can define both application and Spring boot-related PROPERTIES into a file called application.properties. You can create this file manually or USE Spring Initializer to create this file. You don’t need to do any SPECIAL configuration to instruct Spring Boot to load this file, If it exists in classpath then spring boot automatically loads it and configure itself and the application code ACCORDINGLY.



Discussion

No Comment Found