Spring Boot
简介
项目配置
#数据库访问设置 server.port=8082 server.context-path=/shop #tomcat服务器的优化 server.tomcat.uri-encoding=UTF-8 server.tomcat.max-threads=1000 server.tomcat.min-spare-threads=30 #激活运行环境的配置文件 spring.profiles.active=dev #spring.profiles.active=dev #spring.profiles.active=pro #spring.profiles.active=dev #数据库连接配置(如果引用了数据库的信息,此项必须配置) spring.datasource.url=jdbc:mysql://localhost:3306/spring_security?characterEncoding=utf8&allowMultiQueries=true&useSSL=false spring.datasource.username=root spring.datasource.password=123654 spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.type=com.alibaba.druid.pool.DruidDataSource #ORM产品JPA的配置Configuration spring.jpa.database=MYSQL spring.jpa.show-sql=true spring.jpa.properties.hibernate.show_sql=true spring.jpa.hibernate.ddl-auto=create spring.jpa.properties.hibernate.format_sql=true spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect #使用hibernate spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext #JSON设置 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss #JSP模板视图引擎 spring.mvc.view.prefix=classpath:/jsp/ spring.mvc.view.suffix=.jsp #FREEMAKER模板引擎的使用 spring.freemarker.allow-request-override=false spring.freemarker.cache=true spring.freemarker.check-template-location=true spring.freemarker.charset=UTF-8 spring.freemarker.content-type=text/html spring.freemarker.expose-request-attributes=false spring.freemarker.expose-session-attributes=false spring.freemarker.expose-spring-macro-helpers=false spring.freemarker.suffix=.ftl spring.freemarker.template-loader-path=classpath:/ftl/ spring.freemarker.request-context-attribute=request spring.freemarker.prefer-file-system-access=false
一、基础
第一章:开发工具介绍
第一章:用一个HelloWord来阐述SpringBoot的简单与快速
第二章:SpringBoot与JSP间不可描述的秘密
第三章:SpringBoot使用SpringDataJPA完成CRUD
第四章:使用Druid作为SpringBoot项目数据源(添加监控)
第五章:配置使用FastJson返回Json视图
第六章:如何在SpringBoot项目中使用拦截器
第七章:SpringBoot整合JavaMail发送邮件
第八章:使用拦截器记录你的SpringBoot的请求日志
第九章:如何排除SpringBoot内置SpringMvc静态文件地址
第十章:配置SpringBoot支持自动装载Servlet
第十一章:实现SpringBoot单个、多个文件的上传
第十二章:SpringBoot使用LogBack作为日志组件
二、核心
第十三章:SpringBoot实战SpringDataJPA
第十四章:QueryDSL与SpringDataJPA共同服务于SpringBoot
第十五章:使用SpringBoot validator让数据更真实
第十六章:使用Redis作为SpringBoot项目数据缓存
第十七章:使用SpringSecurity让SpringBoot项目更安全
第十八章:SpringBoot项目中使用SpringSecurity整合OAuth2设计项目API安全接口服务
第十九章:使用jwt设计SpringBoot项目api接口安全服务
第二十章:SpringBoot项目中使用WebSocker配置广播式通信
第二十一章:SpringBoot项目中的全局异常处理
第二十二章:SpringBoot项目多模块运用与设计
第二十三章:SpringBoot项目多模块打包与部署
第二十四章:SpringBoot项目多数据源配置
第二十五章:SpringBoot添加支持CORS跨域访问
第二十六章:SpringBoot使用@Scheduled创建定时任务
第二十七章:SpringBoot使用ApplicationEvent&Listener完成业务解耦
第二十八章:SpringBoot使用AutoConfiguration自定义Starter
第二十九章:SpringBoot使用Lombok来优雅的编码
第三十章:SpringBoot使用MapStruct自动映射DTO
三、配置
第三十一章:SpringBoot配置文件application.properties参数详解
第三十二章:如何获取SpringBoot项目的applicationContext对象
第三十三章:修改SpringBoot启动Banner
第三十四章:SpringBoot配置类WebMvcConfigurerAdapter
四、提升
第三十五章:SpringBoot与单元测试的小秘密
第三十六章:基于SpringBoot架构重写SpringMVC请求参数装载
第三十七章:基于SpringBoot架构以及参数装载完成接口安全认证
第三十八章:基于SpringBoot架构使用Profile完成打包环境分离
第三十九章:基于SpringBoot & Quartz完成定时任务分布式单节点持久化
第四十章:基于SpringBoot & Quartz完成定时任务分布式多节点负载持久化
第四十一章: 基于SpringBoot & RabbitMQ消息队列完成分布式消息消费
第四十二章: 基于SpringBoot设计通用框架级别系统异常回调通知处理
第四十三章:开源HGenerator代码生成Maven插件
第四十四章: 基于SpringBoot & AOP完成自定义Redis缓存数据读取
第四十五章: 基于SpringBoot & AOP完成自定义Redis缓存数据更新
第四十六章:基于SpringBoot使用MethodInterceptor打印请求参数日志
- 点赞
- 收藏
- 分享
- 文章举报
- SpringBoot读取配置文件注入到配置类
- Spring boot
- springBoot 的搭建和运行
- Springboot starter web service consume a soap message
- SpringBoot创建项目
- Spring Boot -- application.properties常用属性汇总
- 实战基于Spring Boot 2的WebFlux和mLab搭建反应式Web
- 详解SpringBoot中异步请求和异步调用(看完这一篇就够了)
- Spring Boot自定义Banner
- 【Spring Boot&&Spring Cloud系列】Spring Boot项目集成Swagger UI
- spring boot工程文件上传出现net::ERR_CONNECTION_ABORTED,文件上传失败
- springboot linux启动方式
- Spring Boot 官方文档学习(一)入门及使用
- SpringBoot2.0整合ElasticSearch5.x
- 【2018版】最新最全的SpringBoot 2.0入门视频课程——笔记
- 使用RESTful风格整合springboot+mybatis
- Spring boot实战:拦截器interceptor与过滤器Filter
- spring boot使用thymeleaf跳转页面实例代码
- springboot整合mybatisplus配置
- 解决使用Spring Boot、Multipartfile上传文件路径错误问题