Spring framework vs Spring Boot
Spring framework vs Spring Boot: Conclusion
As you have seen, Spring Boot is just a way that eases development of applications based on Spring framework. In other words, it complements to Spring framework and Spring projects development. To summary:
Both Spring Framework and Spring Boot are parts of Spring platform
- Spring Framework provides core components for developing Java-based enterprise apps
- Spring Boot makes Spring development much easier and more convenient for developers
- Spring Boot is not replacement of Spring framework
- Spring Boot is an abstraction layer on top of Spring framework
- Spring Boot hides details of Spring framework
如您所见,Spring Boot 只是一种简化基于 Spring framework的应用程序开发的方法。换句话说,它补充了Spring framework和Spring项目开发。总结: - Spring Framework 和 Spring Boot 都是 Spring 平台的一部分。
- Spring framework为开发基于 Java 的企业应用程序提供了核心组件
- Spring Boot 使 Spring 开发对开发人员来说更加容易和方便
- Spring Boot 不是 Spring framework的替代品
- Spring Boot 是 Spring framework之上的抽象层。
- Spring Boot 隐藏了 Spring framework的细节
下图可视化了应用程序中 Spring framework和 Spring Boot 之间的关系:Spring 应用程序可以在外部 servlet 容器或嵌入式服务器(如 Apache Tomcat)上运行。Spring Boot 建立在 Spring framework的核心之上。该应用程序的代码建立在Spring Boot和Spring framework的功能之上,例如依赖注入,AOP,ORM,DAO,Spring MVC...