# spring-tutorial **Repository Path**: ProSayJ/spring-tutorial ## Basic Information - **Project Name**: spring-tutorial - **Description**: :book: Spring Framework 教程 - **Primary Language**: JavaScript - **License**: CC-BY-SA-4.0 - **Default Branch**: master - **Homepage**: https://turnon.gitee.io/spring-tutorial/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 12 - **Created**: 2022-03-03 - **Last Updated**: 2022-03-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

logo

Spring Boot Version maven Build

Spring Tutorial

> **spring-tutorial** 是一个以简单范例来展示 spring 在 web 开发中的各种应用的教程。 > > - 🔁 项目同步维护:[Github](https://github.com/dunwu/spring-tutorial/) | [Gitee](https://gitee.com/turnon/spring-tutorial/) > - 📖 电子书阅读:[Github Pages](https://dunwu.github.io/spring-tutorial/) | [Gitee Pages](http://turnon.gitee.io/spring-tutorial/) ## 📖 内容 ### 综合 - [Spring 概述](docs/summary/Spring概述.md) - [Spring 常见面试题](docs/summary/Spring常见面试题.md) ### 核心 > [核心](docs/core/README.md) 章节主要针对:Spring 框架的核心技术。如;IOC 依赖注入、AOP、数据绑定等。 - [Spring 依赖注入(IoC)](docs/core/Spring依赖注入.md) - [Spring 生命周期](docs/core/Spring生命周期.md) - [Spring AOP](docs/core/spring-aop.md) - [Spring 资源管理](docs/core/Spring资源管理.md) ### 数据 > [数据](docs/data/README.md) 章节主要针对:Spring 在数据库领域的应用。如:JDBC、ORM、事务等。 - [Spring 的数据访问策略](docs/data/Spring数据访问策略.md) - [Spring 中使用 JDBC 访问数据](docs/data/Spring中使用JDBC访问数据.md) - [Spring 事务管理](docs/data/Spring事务管理.md) ### Web > [Web](docs/web/README.md) 章节主要针对:Spring 在 web 领域的应用。如:Spring MVC、WebSocket 等。 - [Spring MVC](docs/web/spring-mvc.md) ### 集成 > [集成](docs/integration/README.md) 章节主要针对:Spring 与第三方框架、库集成。如:Cache、Scheduling、JMS、JMX 等。 - [Spring 集成 Dubbo](docs/integration/Spring集成Dubbo.md) - [Spring 集成缓存中间件](docs/integration/Spring集成缓存中间件.md) - [Spring 集成定时任务中间件](docs/integration/Spring集成定时任务中间件.md) ### 其他 - [Spring4 升级踩雷指南](docs/others/spring4-upgrade.md) ## 💻 示例 ### 重要库版本 | 库或工具 | 版本 | 说明 | | -------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Spring Framework | 5.0.2.RELEASE | | | JDK | 1.8+ | Spring5 开始,要求 JDK8+ | | Maven | 3.5.2 | 本项目使用 [maven](https://maven.apache.org/index.html) 作为构建工具。 | | jetty-maven-plugin | 9.4.8.v20171121 | [Jetty](http://www.eclipse.org/jetty/) 可作为 web 服务器和 servlet 容器。此插件可以免部署启动 web app。 | | tomcat7-maven-plugin | 2.2 | [Tomcat](https://tomcat.apache.org/index.html) 可作为 web 服务器和 servlet 容器。此插件可以免部署启动 web app。Tomcat 早已经发布 Tomcat8,但是 maven 插件 一直没有提供 tomcat8 的支持(最后更新为 2013 年)。 | ### 启动 为了便于展示示例,所有 war 包形式的项目都可以使用 maven 插件快速启动嵌入式服务器,支持 Tomcat 和 Jetty 两种方式。 Tomcat7 嵌入式服务器启动: ```bash $ mvn tomcat7:run -Dmaven.test.skip=true ``` Jetty 嵌入式服务器启动: ```bash $ mvn jetty:run -Dmaven.test.skip=true ``` 如果子项目中无特殊说明,默认端口配置为 8089,当然,你可以自己指定。 启动成功后,访问 http://localhost:8089 。 ### 规范 - 推荐使用 [IDEA](https://www.jetbrains.com/idea/) 作为 IDE - 代码规范使用 [阿里巴巴 Java 开发手册](https://github.com/alibaba/p3c) - 如果你使用 IDEA 作为你的 IDE,推荐安装 Alibaba-Java-Coding-Guidelines 插件来做静态检查。 ## 📚 资料 - **官方** - [Spring 官网](https://spring.io/) - [Spring Framework 官方文档](https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/index.html) - [spring-framework Github](https://github.com/spring-projects/spring-framework) - **书籍** - [《 Spring 实战(第 5 版)》](https://book.douban.com/subject/34949443/) - **教程** - [《小马哥讲 Spring 核心编程思想》](https://time.geekbang.org/course/intro/265) - [geekbang-lessons](https://github.com/geektime-geekbang/geekbang-lessons) - [跟我学 Spring3](http://jinnianshilongnian.iteye.com/blog/1482071) ## 🚪 传送 ◾ 🏠 [SPRING-TUTORIAL 首页](https://github.com/dunwu/spring-tutorial) ◾ 🎯 [我的博客](https://github.com/dunwu/blog) ◾ > 你可能会感兴趣: - [Java 教程](https://github.com/dunwu/java-tutorial) 📚 - [JavaCore 教程](https://dunwu.github.io/javacore/) 📚 - [JavaTech 教程](https://dunwu.github.io/javatech/) 📚 - [Spring 教程](https://dunwu.github.io/spring-tutorial/) 📚 - [Spring Boot 教程](https://dunwu.github.io/spring-boot-tutorial/) 📚 - [数据库教程](https://dunwu.github.io/db-tutorial/) 📚 - [数据结构和算法教程](https://dunwu.github.io/algorithm-tutorial/) 📚 - [Linux 教程](https://dunwu.github.io/linux-tutorial/) 📚 - [Nginx 教程](https://github.com/dunwu/nginx-tutorial/) 📚 ## License 本博客所有文章除特别声明外,均采用 [![License: CC BY-NC-SA 4.0](https://licensebuttons.net/l/by-nc-sa/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc-sa/4.0/) 许可协议。