From 7b7daf2bbf18c3aff4e8418f96a14455e14dd1b8 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Mon, 2 Jan 2017 14:46:54 +0800 Subject: [PATCH 1/8] Update SUMMARY.md --- SUMMARY.md | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/SUMMARY.md b/SUMMARY.md index 29584eb1..ead1a81b 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -371,21 +371,29 @@ * [64. Spring Boot Gradle插件](VIII. Build tool plugins/64. Spring Boot Gradle plugin.md) * [64.1 包含该插件](VIII. Build tool plugins/64.1 Including the plugin.md) * [64.2 Gradle依赖管理](VIII. Build tool plugins/64.2 Gradle dependency management.md) - * [59.2.1. 自定义版本管理](VIII. Build tool plugins/59.2.1. Custom version management.md) - * [59.3. 默认排除规则](VIII. Build tool plugins/59.3. Default exclude rules.md) - * [59.4. 打包可执行jar和war文件](VIII. Build tool plugins/59.4. Packaging executable jar and war files.md) - * [59.5. 就地(in-place)运行项目](VIII. Build tool plugins/59.5. Running a project in-place.md) - * [59.6. Spring Boot插件配置](VIII. Build tool plugins/59.6. Spring Boot plugin configuration.md) - * [59.7. Repackage配置](VIII. Build tool plugins/59.7. Repackage configuration.md) - * [59.8. 使用Gradle自定义配置进行Repackage](VIII. Build tool plugins/59.8. Repackage with custom Gradle configuration.md) - * [59.8.1. 配置选项](VIII. Build tool plugins/59.8.1. Configuration options.md) - * [59.9. 理解Gradle插件是如何工作的](VIII. Build tool plugins/59.9. Understanding how the Gradle plugin works.md) - * [60. 对其他构建系统的支持](VIII. Build tool plugins/60. Supporting other build systems.md) - * [60.1. 重新打包存档](VIII. Build tool plugins/60.1. Repackaging archives.md) - * [60.2. 内嵌的库](VIII. Build tool plugins/60.2. Nested libraries.md) - * [60.3. 查找main类](VIII. Build tool plugins/60.3. Finding a main class.md) - * [60.4. repackage实现示例](VIII. Build tool plugins/60.4. Example repackage implementation.md) - * [61. 接下来阅读什么](VIII. Build tool plugins/61. What to read next.md) + * [64.3 打包可执行jar和war文件](VIII. Build tool plugins/64.3 Packaging executable jar and war files.md) + * [64.4 就地(in-place)运行项目](VIII. Build tool plugins/64.4 Running a project in-place.md) + * [64.5 Spring Boot插件配置](VIII. Build tool plugins/64.5 Spring Boot plugin configuration.md) + * [64.6 Repackage配置](VIII. Build tool plugins/64.6 Repackage configuration.md) + * [64.7 使用Gradle自定义配置进行Repackage](VIII. Build tool plugins/64.7 Repackage with custom Gradle configuration.md) + * [64.7.1 配置选项](VIII. Build tool plugins/64.7.1 Configuration options.md) + * [64.7.2 可用的layouts](VIII. Build tool plugins/64.7.2 Available layouts.md) + * [64.8 理解Gradle插件是如何工作的](VIII. Build tool plugins/64.8 Understanding how the Gradle plugin works.md) + * [64.9 使用Gradle将artifacts发布到Maven仓库](VIII. Build tool plugins/64.9 Publishing artifacts to a Maven repository using Gradle.md) + * [64.9.1 自定义Gradle,用于产生一个继承依赖管理的pom](VIII. Build tool plugins/64.9.1 Configuring Gradle to produce a pom that inherits dependency management.md) + * [64.9.2 自定义Gradle,用于产生一个导入依赖管理的pom](VIII. Build tool plugins/64.9.2 Configuring Gradle to produce a pom that imports dependency management.md) + * [65. Spring Boot AntLib模块](VIII. Build tool plugins/65. Spring Boot AntLib module.md) + * [65.1. Spring Boot Ant任务](VIII. Build tool plugins/65.1. Spring Boot Ant tasks.md) + * [65.1.1. spring-boot:exejar](VIII. Build tool plugins/65.1.1. spring-boot:exejar.md) + * [65.1.2. 示例](VIII. Build tool plugins/65.1.2. Examples.md) + * [65.2. spring-boot:findmainclass](VIII. Build tool plugins/65.2. spring-boot:findmainclass.md) + * [65.2.1. 示例](VIII. Build tool plugins/65.2.1. Examples.md) +   * [66. 对其他构建系统的支持](VIII. Build tool plugins/66. Supporting other build systems.md) + * [66.1. 重新打包存档](VIII. Build tool plugins/66.1. Repackaging archives.md) + * [66.2. 内嵌库](VIII. Build tool plugins/66.2.Nested libraries.md) + * [66.3. 查找main类](VIII. Build tool plugins/66.3. Finding a main class.md) + * [66.4. repackage实现示例](VIII. Build tool plugins/66.4. Example repackage implementation.md) + * [67. 接下来阅读什么](VIII. Build tool plugins/67. What to read next.md) * [IX. How-to指南](IX. ‘How-to’ guides/README.md) * [62. Spring Boot应用](IX. ‘How-to’ guides/62. Spring Boot application.md) * [62.1. 解决自动配置问题](IX. ‘How-to’ guides/62.1. Troubleshoot auto-configuration.md) From c1b83a64a52de89ec505d9c02d014d77aee6ca6e Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Mon, 2 Jan 2017 15:04:04 +0800 Subject: [PATCH 2/8] Update 70.16.2 Use Tomcat 7.x or 8.0 with Gradle.md --- .../70.16.2 Use Tomcat 7.x or 8.0 with Gradle.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/IX. \342\200\230How-to\342\200\231 guides/70.16.2 Use Tomcat 7.x or 8.0 with Gradle.md" "b/IX. \342\200\230How-to\342\200\231 guides/70.16.2 Use Tomcat 7.x or 8.0 with Gradle.md" index 83134838..e9bb236d 100644 --- "a/IX. \342\200\230How-to\342\200\231 guides/70.16.2 Use Tomcat 7.x or 8.0 with Gradle.md" +++ "b/IX. \342\200\230How-to\342\200\231 guides/70.16.2 Use Tomcat 7.x or 8.0 with Gradle.md" @@ -1,4 +1,4 @@ -### 64.14.2. 通过Gradle使用Tomcat7.x或8.0 +### 70.16.2 通过Gradle使用Tomcat7.x或8.0 对于Gradle,你可以通过设置`tomcat.version`属性改变Tomcat的版本,然后添加`tomcat-juli`依赖: ```gradle From 14fe04a299828d4be9acaa32aca5c1c1babb8afb Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Mon, 2 Jan 2017 15:35:02 +0800 Subject: [PATCH 3/8] Update SUMMARY.md --- SUMMARY.md | 229 +++++++++++++++++++++++++++++------------------------ 1 file changed, 124 insertions(+), 105 deletions(-) diff --git a/SUMMARY.md b/SUMMARY.md index ead1a81b..44f06aa1 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -395,111 +395,130 @@ * [66.4. repackage实现示例](VIII. Build tool plugins/66.4. Example repackage implementation.md) * [67. 接下来阅读什么](VIII. Build tool plugins/67. What to read next.md) * [IX. How-to指南](IX. ‘How-to’ guides/README.md) - * [62. Spring Boot应用](IX. ‘How-to’ guides/62. Spring Boot application.md) - * [62.1. 解决自动配置问题](IX. ‘How-to’ guides/62.1. Troubleshoot auto-configuration.md) - * [62.2. 启动前自定义Environment或ApplicationContext](IX. ‘How-to’ guides/62.2. Customize the Environment or ApplicationContext before it starts.md) - * [62.3. 构建ApplicationContext层次结构(添加父或根上下文](IX. ‘How-to’ guides/62.3. Build an ApplicationContext hierarchy (adding a parent or root context).md) - * [62.4. 创建一个非web(non-web)应用](IX. ‘How-to’ guides/62.4. Create a non-web application.md) - * [63. 属性&配置](IX. ‘How-to’ guides/63. Properties & configuration.md) - * [63.1. 外部化SpringApplication配置](IX. ‘How-to’ guides/63.1. Externalize the configuration of SpringApplication.md) - * [63.2. 改变应用程序外部配置文件的位置](IX. ‘How-to’ guides/63.2. Change the location of external properties of an application.md) - * [63.3. 使用'short'命令行参数](IX. ‘How-to’ guides/63.3. Use ‘short’ command line arguments.md) - * [63.4. 使用YAML配置外部属性](IX. ‘How-to’ guides/63.4. Use YAML for external properties.md) - * [63.5. 设置生效的Spring profiles](IX. ‘How-to’ guides/63.5. Set the active Spring profiles.md) - * [63.6. 根据环境改变配置](IX. ‘How-to’ guides/63.6. Change configuration depending on the environment.md) - * [63.7. 发现外部属性的内置选项](IX. ‘How-to’ guides/63.7. Discover built-in options for external properties.md) - * [64. 内嵌的servlet容器](IX. ‘How-to’ guides/64. Embedded servlet containers.md) - * [64.1. 为应用添加Servlet,Filter或ServletContextListener](IX. ‘How-to’ guides/64.1. Add a Servlet, Filter or ServletContextListener to an application.md) - * [64.2. 改变HTTP端口](IX. ‘How-to’ guides/64.2. Change the HTTP port.md) - * [64.3. 使用随机未分配的HTTP端口](IX. ‘How-to’ guides/64.3. Use a random unassigned HTTP port.md) - * [64.4. 发现运行时的HTTP端口](IX. ‘How-to’ guides/64.4. Discover the HTTP port at runtime.md) - * [64.5. 配置SSL](IX. ‘How-to’ guides/64.5. Configure SSL.md) - * [64.6. 配置Tomcat](IX. ‘How-to’ guides/64.6. Configure Tomcat.md) - * [64.7. 启用Tomcat的多连接器(Multiple Connectors)](IX. ‘How-to’ guides/64.7. Enable Multiple Connectors with Tomcat.md) - * [64.8. 在前端代理服务器后使用Tomcat](IX. ‘How-to’ guides/64.8. Use Tomcat behind a front-end proxy server.md) - * [64.9. 使用Jetty替代Tomcat](IX. ‘How-to’ guides/64.9. Use Jetty instead of Tomcat.md) - * [64.10. 配置Jetty](IX. ‘How-to’ guides/64.10. Configure Jetty.md) - * [64.11. 使用Undertow替代Tomcat](IX. ‘How-to’ guides/64.11. Use Undertow instead of Tomcat.md) - * [64.12. 配置Undertow](IX. ‘How-to’ guides/64.12. Configure Undertow.md) - * [64.13. 启用Undertow的多监听器](IX. ‘How-to’ guides/64.13. Enable Multiple Listeners with Undertow.md) - * [64.14. 使用Tomcat7](IX. ‘How-to’ guides/64.14. Use Tomcat 7.md) - * [64.14.1. 通过Maven使用Tomcat7](IX. ‘How-to’ guides/64.14.1. Use Tomcat 7 with Maven.md) - * [64.14.2. 通过Gradle使用Tomcat7](IX. ‘How-to’ guides/64.14.2. Use Tomcat 7 with Gradle.md) - * [64.15. 使用Jetty8](IX. ‘How-to’ guides/64.15. Use Jetty 8.md) - * [64.15.1. 通过Maven使用Jetty8](IX. ‘How-to’ guides/64.15.1. Use Jetty 8 with Maven.md) - * [64.15.2. 通过Gradle使用Jetty8](IX. ‘How-to’ guides/64.15.2. Use Jetty 8 with Gradle.md) - * [64.16. 使用@ServerEndpoint创建WebSocket端点](IX. ‘How-to’ guides/64.16. Create WebSocket endpoints using @ServerEndpoint.md) - * [64.17. 启用HTTP响应压缩](IX. ‘How-to’ guides/64.17. Enable HTTP response compression.md) - * [64.17.1. 启用Tomcat的HTTP响应压缩](IX. ‘How-to’ guides/64.17.1. Enable Tomcat’s HTTP response compression.md) - * [64.17.2. 使用GzipFilter开启HTTP响应压缩](IX. ‘How-to’ guides/64.17.2. Enable HTTP response compression using GzipFilter.md) - * [65. Spring MVC](IX. ‘How-to’ guides/65. Spring MVC.md) - * [65.1. 编写一个JSON REST服务](IX. ‘How-to’ guides/65.1. Write a JSON REST service.md) - * [65.2. 编写一个XML REST服务](IX. ‘How-to’ guides/65.2. Write an XML REST service.md) - * [65.3. 自定义Jackson ObjectMapper](IX. ‘How-to’ guides/65.3. Customize the Jackson ObjectMapper.md) - * [65.4. 自定义@ResponseBody渲染](IX. ‘How-to’ guides/65.4. Customize the @ResponseBody rendering.md) - * [65.5. 处理Multipart文件上传](IX. ‘How-to’ guides/65.5. Handling Multipart File Uploads.md) - * [65.6. 关闭Spring MVC DispatcherServlet](IX. ‘How-to’ guides/65.6. Switch off the Spring MVC DispatcherServlet.md) - * [65.7. 关闭默认的MVC配置](IX. ‘How-to’ guides/65.7. Switch off the Default MVC configuration.md) - * [65.8. 自定义ViewResolvers](IX. ‘How-to’ guides/65.8. Customize ViewResolvers.md) - * [66. 日志](IX. ‘How-to’ guides/66. Logging.md) - * [66.1. 配置Logback](IX. ‘How-to’ guides/66.1. Configure Logback for logging.md) - * [66.2. 配置Log4j](IX. ‘How-to’ guides/66.2. Configure Log4j for logging.md) - * [66.2.1. 使用YAML或JSON配置Log4j2](IX. ‘How-to’ guides/66.2.1. Use YAML or JSON to configure Log4j 2.md) - * [67. 数据访问](IX. ‘How-to’ guides/67. Data Access.md) - * [67.1. 配置一个数据源](IX. ‘How-to’ guides/67.1. Configure a DataSource.md) - * [67.2. 配置两个数据源](IX. ‘How-to’ guides/67.2. Configure Two DataSources.md) - * [67.3. 使用Spring Data仓库](IX. ‘How-to’ guides/67.3. Use Spring Data repositories.md) - * [67.4. 从Spring配置分离@Entity定义](IX. ‘How-to’ guides/67.4. Separate @Entity definitions from Spring configuration.md) - * [67.5. 配置JPA属性](IX. ‘How-to’ guides/67.5. Configure JPA properties.md) - * [67.6. 使用自定义的EntityManagerFactory](IX. ‘How-to’ guides/67.6. Use a custom EntityManagerFactory.md) - * [67.7. 使用两个EntityManagers](IX. ‘How-to’ guides/67.7. Use Two EntityManagers.md) - * [67.8. 使用普通的persistence.xml](IX. ‘How-to’ guides/67.8. Use a traditional persistence.xml.md) - * [67.9. 使用Spring Data JPA和Mongo仓库](IX. ‘How-to’ guides/67.9. Use Spring Data JPA and Mongo repositories.md) - * [67.10. 将Spring Data仓库暴露为REST端点](IX. ‘How-to’ guides/67.10. Expose Spring Data repositories as REST endpoint.md) - * [68. 数据库初始化](IX. ‘How-to’ guides/68. Database initialization.md) - * [68.1. 使用JPA初始化数据库](IX. ‘How-to’ guides/68.1. Initialize a database using JPA.md) - * [68.2. 使用Hibernate初始化数据库](IX. ‘How-to’ guides/68.2. Initialize a database using Hibernate.md) - * [68.3. 使用Spring JDBC初始化数据库](IX. ‘How-to’ guides/68.3. Initialize a database using Spring JDBC.md) - * [68.4. 初始化Spring Batch数据库](IX. ‘How-to’ guides/68.4. Initialize a Spring Batch database.md) - * [68.5. 使用一个高级别的数据迁移工具](IX. ‘How-to’ guides/68.5. Use a higher level database migration tool.md) - * [68.5.1. 启动时执行Flyway数据库迁移](IX. ‘How-to’ guides/68.5.1. Execute Flyway database migrations on startup.md) - * [68.5.2. 启动时执行Liquibase数据库迁移](IX. ‘How-to’ guides/68.5.2. Execute Liquibase database migrations on startup.md) - * [69. 批处理应用](IX. ‘How-to’ guides/69. Batch applications.md) - * [69.1. 在启动时执行Spring Batch作业](IX. ‘How-to’ guides/69.1. Execute Spring Batch jobs on startup.md) - * [70. 执行器(Actuator)](IX. ‘How-to’ guides/70. Actuator.md) - * [70.1. 改变HTTP端口或执行器端点的地址](IX. ‘How-to’ guides/70.1. Change the HTTP port or address of the actuator endpoints.md) - * [70.2. 自定义'白标'(whitelabel,可以了解下相关理念)错误页面](IX. ‘How-to’ guides/70.2. Customize the ‘whitelabel’ error page.md) - * [71. 安全](IX. ‘How-to’ guides/71. Security.md) - * [71.1. 关闭Spring Boot安全配置](IX. ‘How-to’ guides/71.1. Switch off the Spring Boot security configuration.md) - * [71.2. 改变AuthenticationManager并添加用户账号](IX. ‘How-to’ guides/71.2. Change the AuthenticationManager and add user accounts.md) - * [71.3. 当前端使用代理服务器时,启用HTTPS](IX. ‘How-to’ guides/71.3. Enable HTTPS when running behind a proxy server.md) - * [72. 热交换](IX. ‘How-to’ guides/72. Hot swapping.md) - * [72.1. 重新加载静态内容](IX. ‘How-to’ guides/72.1. Reload static content.md) - * [72.2. 在不重启容器的情况下重新加载Thymeleaf模板](IX. ‘How-to’ guides/72.2. Reload Thymeleaf templates without restarting the container.md) - * [72.3. 在不重启容器的情况下重新加载FreeMarker模板](IX. ‘How-to’ guides/72.3. Reload FreeMarker templates without restarting the container.md) - * [72.4. 在不重启容器的情况下重新加载Groovy模板](IX. ‘How-to’ guides/72.4. Reload Groovy templates without restarting the container.md) - * [72.5. 在不重启容器的情况下重新加载Velocity模板](IX. ‘How-to’ guides/72.5. Reload Velocity templates without restarting the container.md) - * [72.6. 在不重启容器的情况下重新加载Java类](IX. ‘How-to’ guides/72.6. Reload Java classes without restarting the container.md) - * [72.6.1. 使用Maven配置Spring Loaded](IX. ‘How-to’ guides/72.6.1. Configuring Spring Loaded for use with Maven.md) - * [72.6.2. 使用Gradle和IntelliJ配置Spring Loaded](IX. ‘How-to’ guides/72.6.2. Configuring Spring Loaded for use with Gradle and IntelliJ.md) - * [73. 构建](IX. ‘How-to’ guides/73. Build.md) - * [73.1. 使用Maven自定义依赖版本](IX. ‘How-to’ guides/73.1. Customize dependency versions with Maven.md) - * [73.2. 使用Maven创建可执行JAR](IX. ‘How-to’ guides/73.2. Create an executable JAR with Maven.md) - * [73.3. 创建其他的可执行JAR](IX. ‘How-to’ guides/73.3. Create an additional executable JAR.md) - * [73.4. 在可执行jar运行时提取特定的版本](IX. ‘How-to’ guides/73.4. Extract specific libraries when an executable jar runs.md) - * [73.5. 使用排除创建不可执行的JAR](IX. ‘How-to’ guides/73.5. Create a non-executable JAR with exclusions.m) - * [73.6. 远程调试一个使用Maven启动的Spring Boot项目](IX. ‘How-to’ guides/73.6. Remote debug a Spring Boot application started with Maven.md) - * [73.7. 远程调试一个使用Gradle启动的Spring Boot项目](IX. ‘How-to’ guides/73.7. Remote debug a Spring Boot application started with Gradle.md) - * [73.8. 使用Ant构建可执行存档(archive)](IX. ‘How-to’ guides/73.8. Build an executable archive with Ant.md) - * [73.9. 如何使用Java6](IX. ‘How-to’ guides/73.9. How to use Java 6.md) - * [73.9.1. 内嵌Servlet容器兼容性](IX. ‘How-to’ guides/73.9.1. Embedded servlet container compatibility.md) - * [73.9.2. JTA API兼容性](IX. ‘How-to’ guides/73.9.2. JTA API compatibility.md) - * [74. 传统部署](IX. ‘How-to’ guides/74. Traditional deployment.md) - * [74.1. 创建一个可部署的war文件](IX. ‘How-to’ guides/74.1. Create a deployable war file.md) - * [74.2. 为老的servlet容器创建一个可部署的war文件](IX. ‘How-to’ guides/74.2. Create a deployable war file for older servlet containers.md) - * [74.3. 将现有的应用转换为Spring Boot](IX. ‘How-to’ guides/74.3. Convert an existing application to Spring Boot.md) - * [74.4. 部署WAR到Weblogic](IX. ‘How-to’ guides/74.4. Deploying a WAR to Weblogic.md) - * [74.5. 部署WAR到老的(Servlet2.5)容器](IX. ‘How-to’ guides/74.5. Deploying a WAR in an Old (Servlet 2.5) Container.md) + * [68. Spring Boot应用](IX. ‘How-to’ guides/68. Spring Boot application.md) + * [68.1 创建自己的FailureAnalyzer](IX. ‘How-to’ guides/68.1 Create your own FailureAnalyzer.md) + * [68.2 解决自动配置问题](IX. ‘How-to’ guides/68.2 Troubleshoot auto-configuration.md) + * [68.3 启动前自定义Environment或ApplicationContext](IX. ‘How-to’ guides/68.3 Customize the Environment or ApplicationContext before it starts.md) + * [68.4 构建ApplicationContext层次结构](IX. ‘How-to’ guides/68.4 Build an ApplicationContext hierarchy (adding a parent or root context).md) +      * [68.5 创建no-web应用](IX. ‘How-to’ guides/68.5 Create a non-web application.md) +   * [69. 属性&配置](IX. ‘How-to’ guides/69. Properties & configuration.md) + * [69.1. 运行时暴露属性](IX. ‘How-to’ guides/69.1. Automatically expand properties at build time.md) + * [69.1.1. 使用Maven自动暴露属性](IX. ‘How-to’ guides/69.1.1. Automatic property expansion using Maven.md) + * [69.1.2. 使用Gradle自动暴露属性](IX. ‘How-to’ guides/69.1.2. Automatic property expansion using Gradle.md) + * [69.2. 外部化SpringApplication配置](IX. ‘How-to’ guides/69.2. Externalize the configuration of SpringApplication.md) + * [69.3 改变应用程序外部配置文件的位置](IX. ‘How-to’ guides/69.3 Change the location of external properties of an application.md) + * [69.4 使用'short'命令行参数](IX. ‘How-to’ guides/69.4 Use ‘short’ command line arguments.md) + * [69.5 使用YAML配置外部属性](IX. ‘How-to’ guides/69.5 Use YAML for external properties.md) + * [69.6 设置生效的Spring profiles](IX. ‘How-to’ guides/69.6 Set the active Spring profiles.md) + * [69.7 根据环境改变配置](IX. ‘How-to’ guides/69.7 Change configuration depending on the environment.md) + * [69.8 发现外部属性的内置选项](IX. ‘How-to’ guides/69.8 Discover built-in options for external properties.md) + * [70. 内嵌servlet容器](IX. ‘How-to’ guides/70. Embedded servlet containers.md) + * [70.1 为应用添加Servlet,Filter或Listener](IX. ‘How-to’ guides/70.1 Add a Servlet, Filter or ServletContextListener to an application.md) + * [70.1.1 使用Spring bean添加Servlet, Filter或Listener](IX. ‘How-to’ guides/70.1.1 Add a Servlet, Filter or Listener using a Spring bean.md) + * [70.1.2 使用classpath扫描添加Servlets, Filters和Listeners](IX. ‘How-to’ guides/70.1.2 Add Servlets, Filters, and Listeners using classpath scanning.md) + * [70.2 改变HTTP端口](IX. ‘How-to’ guides/70.2 Change the HTTP port.md) + * [70.3 使用随机未分配的HTTP端口](IX. ‘How-to’ guides/70.3 Use a random unassigned HTTP port.md) + * [70.4 发现运行时的HTTP端口](IX. ‘How-to’ guides/70.4 Discover the HTTP port at runtime.md) + * [70.5 配置SSL](IX. ‘How-to’ guides/70.5 Configure SSL.md) + * [70.6 配置访问日志](IX. ‘How-to’ guides/70.6 Configure Access Logging.md) + * [70.7 在前端代理服务器后使用](IX. ‘How-to’ guides/70.7 Use behind a front-end proxy server.md) + * [70.7.1 自定义Tomcat代理配置](IX. ‘How-to’ guides/70.7.1 Customize Tomcat’s proxy configuration.md) + * [70.8 配置Tomcat](IX. ‘How-to’ guides/70.8 Configure Tomcat.md) + * [70.9 启用Tomcat的多连接器](IX. ‘How-to’ guides/70.9 Enable Multiple Connectors with Tomcat.md) + * [70.10 使用Tomcat的LegacyCookieProcessor](IX. ‘How-to’ guides/70.10 Use Tomcat’s LegacyCookieProcessor.md) + * [70.11 使用Jetty替代Tomcat](IX. ‘How-to’ guides/70.11 Use Jetty instead of Tomcat.md) + * [70.12 配置Jetty](IX. ‘How-to’ guides/70.12 Configure Jetty.md) + * [70.13 使用Undertow替代Tomcat](IX. ‘How-to’ guides/70.13 Use Undertow instead of Tomcat.md) + * [70.14 配置Undertow](IX. ‘How-to’ guides/70.14 Configure Undertow.md) + * [70.15 启用Undertow的多监听器](IX. ‘How-to’ guides/70.15 Enable Multiple Listeners with Undertow.md) + * [70.16 使用Tomcat 7.x或8.0](IX. ‘How-to’ guides/70.16 Use Tomcat 7.x or 8.0.md) + * [70.16.1 通过Maven使用Tomcat 7.x或8.0](IX. ‘How-to’ guides/70.16.1 Use Tomcat 7.x or 8.0 with Maven.md) + * [70.16.2 通过Gradle使用Tomcat7.x或8.0](IX. ‘How-to’ guides/70.16.2 Use Tomcat 7.x or 8.0 with Gradle.md) + * [70.17 使用Jetty9.2](IX. ‘How-to’ guides/70.17 Use Jetty 9.2.md) + * [70.17.1 通过Maven使用Jetty9.2](IX. ‘How-to’ guides/70.17.1 Use Jetty9.2 with Maven.md) + * [70.17.2 通过Gradle使用Jetty 9.2](IX. ‘How-to’ guides/70.17.2 Use Jetty 9.2 with Gradle.md) + * [70.18 使用Jetty 8](IX. ‘How-to’ guides/70.18 Use Jetty 8.md) + * [70.18.1 通过Maven使用Jetty8](IX. ‘How-to’ guides/70.18.1 Use Jetty 8 with Maven.md) + * [70.18.2 通过Gradle使用Jetty8](IX. ‘How-to’ guides/70.18.2 Use Jetty 8 with Gradle.md) + * [70.19 使用@ServerEndpoint创建WebSocket端点](IX. ‘How-to’ guides/70.19 Create WebSocket endpoints using @ServerEndpoint.md) + * [71. Spring MVC](IX. ‘How-to’ guides/71. Spring MVC.md) + * [71.1 编写JSON REST服务](IX. ‘How-to’ guides/71.1 Write a JSON REST service.md) + * [71.2 编写XML REST服务](IX. ‘How-to’ guides/71.2 Write an XML REST service.md) + * [71.3 自定义Jackson ObjectMapper](IX. ‘How-to’ guides/71.3 Customize the Jackson ObjectMapper.md) + * [71.4 自定义@ResponseBody渲染](IX. ‘How-to’ guides/71.4 Customize the @ResponseBody rendering.md) + * [71.5 处理Multipart文件上传](IX. ‘How-to’ guides/71.5 Handling Multipart File Uploads.md) + * [71.6 关闭Spring MVC DispatcherServlet](IX. ‘How-to’ guides/71.6 Switch off the Spring MVC DispatcherServlet.md) + * [71.7 关闭默认的MVC配置](IX. ‘How-to’ guides/71.7 Switch off the Default MVC configuration.md) + * [71.8 自定义ViewResolvers](IX. ‘How-to’ guides/71.8 Customize ViewResolvers.md) + * [71.9 Velocity](IX. ‘How-to’ guides/71.9 Velocity.md) + * [71.10 使用Thymeleaf 3](IX. ‘How-to’ guides/71.10 Use Thymeleaf 3.md) + * [73. 日志](IX. ‘How-to’ guides/73. Logging.md) + * [73.1 配置Logback](IX. ‘How-to’ guides/73.1 Configure Logback for logging.md) + * [73.1.1 配置logback只输出到文件](IX. ‘How-to’ guides/73.1.1 Configure logback for file only output.md) + * [73.2 配置Log4j](IX. ‘How-to’ guides/73.2 Configure Log4j for logging.md) + * [73.2.1 使用YAML或JSON配置Log4j2](IX. ‘How-to’ guides/73.2.1 Use YAML or JSON to configure Log4j 2.md) + * [74. 数据访问](IX. ‘How-to’ guides/74. Data Access.md) + * [74.1 配置数据源](IX. ‘How-to’ guides/74.1 Configure a DataSource.md) + * [74.2 配置两个数据源](IX. ‘How-to’ guides/74.2 Configure Two DataSources.md) + * [74.3 使用Spring Data仓库](IX. ‘How-to’ guides/74.3 Use Spring Data repositories.md) + * [74.4 从Spring配置分离@Entity定义](IX. ‘How-to’ guides/74.4 Separate @Entity definitions from Spring configuration.md) + * [74.5 配置JPA属性](IX. ‘How-to’ guides/74.5 Configure JPA properties.md) + * [74.6 使用自定义EntityManagerFactory](IX. ‘How-to’ guides/74.6 Use a custom EntityManagerFactory.md) + * [74.7 使用两个EntityManagers](IX. ‘How-to’ guides/74.7 Use Two EntityManagers.md) + * [74.8 使用普通的persistence.xml](IX. ‘How-to’ guides/74.8 Use a traditional persistence.xml.md) + * [74.9 使用Spring Data JPA和Mongo仓库](IX. ‘How-to’ guides/74.9 Use Spring Data JPA and Mongo repositories.md) + * [74.10 将Spring Data仓库暴露为REST端点](IX. ‘How-to’ guides/74.10 Expose Spring Data repositories as REST endpoint.md) + * [74.11 配置JPA使用的组件](IX. ‘How-to’ guides/74.11 Configure a component that is used by JPA.md) + * [75. 数据库初始化](IX. ‘How-to’ guides/75. Database initialization.md) + * [75.1 使用JPA初始化数据库](IX. ‘How-to’ guides/75.1 Initialize a database using JPA.md) + * [75.2 使用Hibernate初始化数据库](IX. ‘How-to’ guides/75.2 Initialize a database using Hibernate.md) + * [75.3 使用Spring JDBC初始化数据库](IX. ‘How-to’ guides/75.3 Initialize a database using Spring JDBC.md) + * [75.4 初始化Spring Batch数据库](IX. ‘How-to’ guides/75.4 Initialize a Spring Batch database.md) + * [75.5 使用高级数据迁移工具](IX. ‘How-to’ guides/75.5 Use a higher level database migration tool.md) + * [75.5.1 启动时执行Flyway数据库迁移](IX. ‘How-to’ guides/75.5.1 Execute Flyway database migrations on startup.md) + * [75.5.2 启动时执行Liquibase数据库迁移](IX. ‘How-to’ guides/75.5.2 Execute Liquibase database migrations on startup.md) + * [76. 批处理应用](IX. ‘How-to’ guides/76. Batch applications.md) + * [76.1 在启动时执行Spring Batch作业](IX. ‘How-to’ guides/76.1 Execute Spring Batch jobs on startup.md) + * [77. 执行器](IX. ‘How-to’ guides/77. Actuator.md) + * [77.1 改变HTTP端口或执行器端点的地址](IX. ‘How-to’ guides/77.1 Change the HTTP port or address of the actuator endpoints.md) + * [77.2 自定义WhiteLabel错误页面](IX. ‘How-to’ guides/77.2 Customize the ‘whitelabel’ error page.md) + * [77.3 Actuator和Jersey](IX. ‘How-to’ guides/77.3 Actuator and Jersey.md) + * [78. 安全](IX. ‘How-to’ guides/78. Security.md) + * [78.1 关闭Spring Boot安全配置](IX. ‘How-to’ guides/78.1 Switch off the Spring Boot security configuration.md) + * [78.2 改变AuthenticationManager并添加用户账号](IX. ‘How-to’ guides/78.2 Change the AuthenticationManager and add user accounts.md) + * [78.3 当前端使用代理服务器时启用HTTPS](IX. ‘How-to’ guides/78.3 Enable HTTPS when running behind a proxy server.md) + * [79. 热交换](IX. ‘How-to’ guides/79. Hot swapping.md) + * [79.1 重新加载静态内容](IX. ‘How-to’ guides/79.1 Reload static content.md) + * [79.2. 在不重启容器的情况下重新加载模板](IX. ‘How-to’ guides/79.2. Reload templates without restarting the container.md) +         * [79.2.1 Thymeleaf模板](IX. ‘How-to’ guides/79.2.1 Thymeleaf templates.md) + * [79.2.2 FreeMarker模板](IX. ‘How-to’ guides/79.2.2 FreeMarker templates.md) + * [79.2.3 Groovy模板](IX. ‘How-to’ guides/79.2.3 Groovy templates.md) + * [79.2.4 Velocity模板](IX. ‘How-to’ guides/79.2.4 Velocity templates.md) +      * [79.3 应用快速重启](IX. ‘How-to’ guides/79.3 Fast application restarts.md) + * [79.4 在不重启容器的情况下重新加载Java类](IX. ‘How-to’ guides/79.4 Reload Java classes without restarting the container.md) + * [79.4.1 使用Maven配置Spring Loaded](IX. ‘How-to’ guides/79.4.1 Configuring Spring Loaded for use with Maven.md) + * [79.4.2 使用Gradle和IntelliJ IDEA配置Spring Loaded](IX. ‘How-to’ guides/79.4.2 Configuring Spring Loaded for use with Gradle and IntelliJ.md) + * [80. 构建](IX. ‘How-to’ guides/80. Build.md) + * [80.1 生成构建信息](IX. ‘How-to’ guides/80.1 Generate build information.md) + * [80.2 生成Git信息](IX. ‘How-to’ guides/80.2 Generate git information.md) + * [80.3 自定义依赖版本](IX. ‘How-to’ guides/80.3 Customize dependency versions.md) + * [80.4 使用Maven创建可执行JAR](IX. ‘How-to’ guides/80.4 Create an executable JAR with Maven.md) + * [80.5 将Spring Boot应用作为依赖](IX. ‘How-to’ guides/80.5 Use a Spring Boot application as a dependency.md) + * [80.6 在可执行jar运行时提取特定的版本](IX. ‘How-to’ guides/80.6 Extract specific libraries when an executable jar runs.md) + * [80.7 使用排除创建不可执行的JAR](IX. ‘How-to’ guides/80.7 Create a non-executable JAR with exclusions.md) + * [80.8 远程调试使用Maven启动的Spring Boot项目](IX. ‘How-to’ guides/80.8 Remote debug a Spring Boot application started with Maven.md) + * [80.9 远程调试使用Gradle启动的Spring Boot项目](IX. ‘How-to’ guides/80.9 Remote debug a Spring Boot application started with Gradle.md) + * [80.10 使用Ant构建可执行存档](IX. ‘How-to’ guides/80.10 Build an executable archive from Ant without using spring-boot-antlib.md) + * [80.11 如何使用Java6](IX. ‘How-to’ guides/80.11 How to use Java 6.md) + * [80.11.1 内嵌Servlet容器兼容性](IX. ‘How-to’ guides/80.11.1 Embedded servlet container compatibility.md) + * [80.11.2 Jackson](IX. ‘How-to’ guides/80.11.2 Jackson.md) + * [80.11.3 JTA API兼容性](IX. ‘How-to’ guides/80.11.3 JTA API compatibility.md) + * [81. 传统部署](IX. ‘How-to’ guides/81. Traditional deployment.md) + * [81.1 创建可部署的war文件](IX. ‘How-to’ guides/81.1 Create a deployable war file.md) + * [81.2 为老的servlet容器创建可部署的war文件](IX. ‘How-to’ guides/81.2 Create a deployable war file for older servlet containers.md) + * [81.3 将现有的应用转换为Spring Boot](IX. ‘How-to’ guides/81.3 Convert an existing application to Spring Boot.md) + * [81.4 部署WAR到Weblogic](IX. ‘How-to’ guides/81.4 Deploying a WAR to Weblogic.md) + * [81.5 部署WAR到老的(Servlet2.5)容器](IX. ‘How-to’ guides/81.5 Deploying a WAR in an Old (Servlet 2.5) Container.md) * [X.附录](X. Appendices/README.md) * [附录A. 常见应用属性](X. Appendices/A. Common application properties.md) * [附录B. 配置元数据](X. Appendices/B. Configuration meta-data.md) From c338fe54d3b7ec8bb94d343207e3cb1c3d2cbc75 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Mon, 2 Jan 2017 15:37:52 +0800 Subject: [PATCH 4/8] Update SUMMARY.md --- SUMMARY.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SUMMARY.md b/SUMMARY.md index 44f06aa1..47a942b5 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -400,8 +400,8 @@ * [68.2 解决自动配置问题](IX. ‘How-to’ guides/68.2 Troubleshoot auto-configuration.md) * [68.3 启动前自定义Environment或ApplicationContext](IX. ‘How-to’ guides/68.3 Customize the Environment or ApplicationContext before it starts.md) * [68.4 构建ApplicationContext层次结构](IX. ‘How-to’ guides/68.4 Build an ApplicationContext hierarchy (adding a parent or root context).md) -      * [68.5 创建no-web应用](IX. ‘How-to’ guides/68.5 Create a non-web application.md) -   * [69. 属性&配置](IX. ‘How-to’ guides/69. Properties & configuration.md) + * [68.5 创建no-web应用](IX. ‘How-to’ guides/68.5 Create a non-web application.md) + * [69. 属性&配置](IX. ‘How-to’ guides/69. Properties & configuration.md) * [69.1. 运行时暴露属性](IX. ‘How-to’ guides/69.1. Automatically expand properties at build time.md) * [69.1.1. 使用Maven自动暴露属性](IX. ‘How-to’ guides/69.1.1. Automatic property expansion using Maven.md) * [69.1.2. 使用Gradle自动暴露属性](IX. ‘How-to’ guides/69.1.2. Automatic property expansion using Gradle.md) @@ -494,7 +494,7 @@ * [79.2.2 FreeMarker模板](IX. ‘How-to’ guides/79.2.2 FreeMarker templates.md) * [79.2.3 Groovy模板](IX. ‘How-to’ guides/79.2.3 Groovy templates.md) * [79.2.4 Velocity模板](IX. ‘How-to’ guides/79.2.4 Velocity templates.md) -      * [79.3 应用快速重启](IX. ‘How-to’ guides/79.3 Fast application restarts.md) + * [79.3 应用快速重启](IX. ‘How-to’ guides/79.3 Fast application restarts.md) * [79.4 在不重启容器的情况下重新加载Java类](IX. ‘How-to’ guides/79.4 Reload Java classes without restarting the container.md) * [79.4.1 使用Maven配置Spring Loaded](IX. ‘How-to’ guides/79.4.1 Configuring Spring Loaded for use with Maven.md) * [79.4.2 使用Gradle和IntelliJ IDEA配置Spring Loaded](IX. ‘How-to’ guides/79.4.2 Configuring Spring Loaded for use with Gradle and IntelliJ.md) From f96b2358eab6a0deb3e64991e2950a8e5151daab Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Mon, 2 Jan 2017 15:39:13 +0800 Subject: [PATCH 5/8] Update SUMMARY.md --- SUMMARY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUMMARY.md b/SUMMARY.md index 47a942b5..5a58e457 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -490,7 +490,7 @@ * [79. 热交换](IX. ‘How-to’ guides/79. Hot swapping.md) * [79.1 重新加载静态内容](IX. ‘How-to’ guides/79.1 Reload static content.md) * [79.2. 在不重启容器的情况下重新加载模板](IX. ‘How-to’ guides/79.2. Reload templates without restarting the container.md) -         * [79.2.1 Thymeleaf模板](IX. ‘How-to’ guides/79.2.1 Thymeleaf templates.md) + * [79.2.1 Thymeleaf模板](IX. ‘How-to’ guides/79.2.1 Thymeleaf templates.md) * [79.2.2 FreeMarker模板](IX. ‘How-to’ guides/79.2.2 FreeMarker templates.md) * [79.2.3 Groovy模板](IX. ‘How-to’ guides/79.2.3 Groovy templates.md) * [79.2.4 Velocity模板](IX. ‘How-to’ guides/79.2.4 Velocity templates.md) From 4acefa3fa5476c6875d00a2621e8b650b0160958 Mon Sep 17 00:00:00 2001 From: HerveyHall Date: Fri, 17 Feb 2017 14:06:44 +0800 Subject: [PATCH 6/8] errata --- II. Getting started/11.2. Adding classpath dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/II. Getting started/11.2. Adding classpath dependencies.md b/II. Getting started/11.2. Adding classpath dependencies.md index 855ee805..6919f826 100644 --- a/II. Getting started/11.2. Adding classpath dependencies.md +++ b/II. Getting started/11.2. Adding classpath dependencies.md @@ -1,6 +1,6 @@ ### 11.2. 添加classpath依赖 -Spring Boot提供很多"Starters",用来简化添加jars到classpath的操作。示例程序中已经在POM的`partent`节点使用了`spring-boot-starter-parent`,它是一个特殊的starter,提供了有用的Maven默认设置。同时,它也提供一个`dependency-management`节点,这样对于期望(”blessed“)的依赖就可以省略version标记了。 +Spring Boot提供很多"Starters",用来简化添加jars到classpath的操作。示例程序中已经在POM的`parent`节点使用了`spring-boot-starter-parent`,它是一个特殊的starter,提供了有用的Maven默认设置。同时,它也提供一个`dependency-management`节点,这样对于期望(”blessed“)的依赖就可以省略version标记了。 其他”Starters“只简单提供开发特定类型应用所需的依赖。由于正在开发web应用,我们将添加`spring-boot-starter-web`依赖-但在此之前,让我们先看下目前的依赖: ```shell From d20593018b000d1b294534801d2e18e98857aa78 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Sun, 12 Mar 2017 17:23:03 +0800 Subject: [PATCH 7/8] Update README.md --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 1d338d40..b9d6ed01 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,6 @@ Spring Boot Reference Guide中文翻译 -《Spring Boot参考指南》 说明:本文档翻译的版本:[1.4.1.RELEASE](http://docs.spring.io/spring-boot/docs/1.4.1.RELEASE/reference/htmlsingle/)。 -翻译完毕会出教程,敬请期待! - -最新版本地址:[2.x](http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle)。 如感兴趣,可以star或fork该[仓库](https://github.com/qibaoguang/Spring-Boot-Reference-Guide)! From 551191a804084a355232bc214d8211b96dec14c7 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Tue, 8 Aug 2017 15:28:03 +0800 Subject: [PATCH 8/8] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b9d6ed01..aafb4d99 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ Email:qibaoguang@gmail.com [从这里开始](SUMMARY.md) 交流群: -* spring boot最佳实践2 : 460560346 +* Spring For All社区:470962790 +* spring boot最佳实践2(已满) : 460560346 * spring boot最佳实践(已满) :445015546 **注** 1.3版本查看本仓库的release。