- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://projects.spring.io/spring-boot/
- 软件文档: https://github.com/spring-projects/spring-boot/blob/master/README.adoc
- 官方下载: https://github.com/spring-projects/spring-boot/releases
软件介绍
Spring Boot 项目旨在简化创建产品级的 Spring 应用和服务。你可通过它来选择不同的 Spring 平台。可创建独立的 Java 应用和 Web 应用,同时提供了命令行工具来允许 'spring scripts'.
下图显示 Spring Boot 在 Spring 生态中的位置:
该项目主要的目的是:
为 Spring 的开发提供了更快更广泛的快速上手
使用默认方式实现快速开发
提供大多数项目所需的非功能特性,诸如:嵌入式服务器、安全、心跳检查、外部配置等
Spring Boot 不生成代码,完全无需 XML 配置。
快速在 Java 代码中测试和使用 Spring Boot 的方法:
import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.web.bind.annotation.*;
@RestController
@EnableAutoConfiguration
public class Example {
@RequestMapping("/")
String home() {
return "Hello World!";
}
public static void main(String[] args) throws Exception {
SpringApplication.run(Example.class, args);
}
}
Hit Refresh
Satya Nadella、Greg Shaw / HarperBusiness / 2017-9-26 / USD 20.37
Hit Refresh is about individual change, about the transformation happening inside of Microsoft and the technology that will soon impact all of our lives—the arrival of the most exciting and disruptive......一起来看看 《Hit Refresh》 这本书的介绍吧!
