Spring provides loosely coupled IOC based approach, although spring saves a lot of object creation but it increases "configurations" and you have to create container object & specify where to look for an object, Apart from that you have to specify a lot of configurations for Database, Transactions, Security etc.
To solve these problems Spring Boot is developed.
Basically, Spring Boot is an independent project under the spring umbrella which automates the bootstrap (up & running) process of spring applications.
As Spring Boot is an opinionated framework that means Spring Boot will put an opinion of configurations & jars and you can customized that as well.
If you just started learning Spring then you should start with Spring Boot because plain Spring whether it is core spring, web, data or security is old school stuff without boot. And in this blog "Spring Boot Series" will teach you all the concepts of Core Spring using boot and how it has reduced the efforts, and after that you can learn some other upcoming series like Spring MVC with Boot, Spring Data with Boot, Spring Security with Boot etc.
2. In plain Spring we have to create container by our self but with Spring Boot container will be already available for you.
3. There's no need to specify where to look for an object dependencies, Spring Boot will automatically do this for you.
4. Spring Boot provides a single way of executing all type of applications (whether it's a console application, web application etc.), all starts with a main() method like you used to do when you started learning JAVA.
5. Spring Boot provides embedded web-server for web application and rest services. So that they can be distributed as stand-alone application.
6. In the case of web application with Spring Boot you can have a war or even a executable stand-alone jar file that will include your code and web-server.
To solve these problems Spring Boot is developed.
Basically, Spring Boot is an independent project under the spring umbrella which automates the bootstrap (up & running) process of spring applications.
As Spring Boot is an opinionated framework that means Spring Boot will put an opinion of configurations & jars and you can customized that as well.
If you just started learning Spring then you should start with Spring Boot because plain Spring whether it is core spring, web, data or security is old school stuff without boot. And in this blog "Spring Boot Series" will teach you all the concepts of Core Spring using boot and how it has reduced the efforts, and after that you can learn some other upcoming series like Spring MVC with Boot, Spring Data with Boot, Spring Security with Boot etc.
Advantages of Spring Boot over Spring:
1. Spring Boot provides intelligent defaults of jar files & configurations of different type of applications.2. In plain Spring we have to create container by our self but with Spring Boot container will be already available for you.
3. There's no need to specify where to look for an object dependencies, Spring Boot will automatically do this for you.
4. Spring Boot provides a single way of executing all type of applications (whether it's a console application, web application etc.), all starts with a main() method like you used to do when you started learning JAVA.
5. Spring Boot provides embedded web-server for web application and rest services. So that they can be distributed as stand-alone application.
6. In the case of web application with Spring Boot you can have a war or even a executable stand-alone jar file that will include your code and web-server.