14
de17
6y

Spring vs Spring Boot

Comments
  • 1
  • 0
    Someday we might have an uber annotation like @EnableMyFinanceAppFeatures at which point the developer won't know a thing about programming
  • 0
    I don't get it :(
  • 4
    @polaroidkidd
    We need to do a hell of configurations in spring MVC
    But spring boot does it all by itself...
  • 6
    @polaroidkidd Spring framework brings all the boilerplates inside. So in order to build a webapp you don't need create it all by yourself. It's already in Spring components. Now the problem is that there are waaaaay too many components and to create a minimal working app dev had to configure them to play nicely with each other.

    Spring boot is already a launchable app. Depending on what Spring launcher class you extend, it might be cli app or a web app. To add more stuf to the app dev has to just add dependencies to the project. That's it... Want swagger? Add dependency et voila! Need webcec? No probs, just add websec, create its config class, write down access rules and there you go!

    In order to change some default behaviour dev only has to replace Spring's bean with his own.

    Just like the juicer. Default juice mix is already there. If you want more lemon - just squeeze it in. No need to add all the components from scratch.
  • 1
    Best part about using spring boot is that you don't have to worry about dependencies,where as settings up spring takes me hours
Add Comment