Spring
https://spring.io/projects/spring-framework
The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.
A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
Features
-
Core technologies: dependency injection, events, resources, i18n, validation, data binding, type conversion, SpEL, AOP.
-
Testing: mock objects, TestContext framework, Spring MVC Test,
WebTestClient
. -
Data Access: transactions, DAO support, JDBC, ORM, Marshalling XML.
-
Spring MVC and Spring WebFlux web frameworks.
-
Integration: remoting, JMS, JCA, JMX, email, tasks, scheduling, cache.
-
Languages: Kotlin, Groovy, dynamic languages.
== google translate==
Spring Framework为现代基于Java的企业应用程序提供了全面的编程和配置模型 - 在任何类型的部署平台上。
Spring的一个关键要素是应用程序级别的基础架构支持:Spring专注于企业应用程序的“管道”,以便团队可以专注于应用程序级业务逻辑,而无需与特定部署环境建立不必要的联系。
特征
核心技术:依赖注入,事件,资源,i18n,验证,数据绑定,类型转换,SpEL,AOP。
测试:模拟对象,TestContext框架,Spring MVC测试,WebTestClient。
数据访问:事务,DAO支持,JDBC,ORM,编组XML。
Spring MVC和Spring WebFlux Web框架。
集成:远程处理,JMS,JCA,JMX,电子邮件,任务,调度,缓存。
语言:Kotlin,Groovy,动态语言。
Spring MVC
https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html
Spring boot
https://spring.io/projects/spring-boot
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".
We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
Features
-
Create stand-alone Spring applications
-
Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
-
Provide opinionated 'starter' dependencies to simplify your build configuration
-
Automatically configure Spring and 3rd party libraries whenever possible
-
Provide production-ready features such as metrics, health checks and externalized configuration
-
Absolutely no code generation and no requirement for XML configuration
== google translate ==
Spring Boot可以轻松创建独立的,生产级的基于Spring的应用程序,您可以“运行”。
我们对Spring平台和第三方库采取了自以为是的观点,因此您可以尽量少开始。 大多数Spring Boot应用程序只需要很少的Spring配置。
特征
创建独立的Spring应用程序
直接嵌入Tomcat,Jetty或Undertow(无需部署WAR文件)
提供自以为是的“入门”依赖项以简化构建配置
尽可能自动配置Spring和第三方库
提供生产就绪功能,例如指标,运行状况检查和外部化配置
绝对没有代码生成,也不需要XML配置