Access the full course here: javabrains.io/courses/spring_bootquickstart
Learn how to configure some basic properties for your Spring Boot application using the application.properties file.
9 Comments on "Spring Boot Quick Start 25 – Using application properties"
What is the right way to add a configuration file, for properties I will be using (not spring properties)
I want to read data from a file, then store it into Mongo and then display it on a webpage as a widget, how to do that ?
What do you think about use application.yml file? is any advantage over using a common properties file?
As always amazing . Thank you, Koushik!
Hi Sir, can we replace Embedded tomcat with Jboss or some other application server by updating configuration in application.properties file? if yes please add a comment . Thanks in advance and thanks for all your tutorials, you made our life easier.
Thanks for such a quick response .
It's possible as this old blog post suggests. I personally haven't tried it, so I cannot comment on how this works: spring.io/blog/2014/03/07/deploying-spring-boot-applications. I'd much rather just build the project as a war and deploy it separately. (I cover generating a WAR file instead of JAR at the end of the course).
hi teacher where is the application.properties file link
In CodeChannels.com, you can learn to code by watching videos and stay up to date with latest code shows, events and tutorials aggregated from various leading developer communities.
Copyright 2016 By CodeChannels.com All rights reserved.