But in spring boot ,we don’t need config file anymore,and we don’t need to deploy web app to container.
Lets take a look what the spring boot project structure
When we try to add to tomcat to test out project,ide can not let us add boot app to server
Let's take a look on below file
Lets try it on browser,look like it running,but content a bit odd,actually we need to add something
We add some content in DomoApplication.java,and run it again
Looks good now
Spring boot let us drop config files,spring developer all know if our project became big or huge ,we always miss in config files so pain,spring boot let us more config again.
So here we got 2 nice feature
- No config anymore
- No need to install container before deploy to production server
In next post ,I will write more about why I like to use spring boot for my further java web development.see you~~