欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

SpringBoot环境配置知识总结

程序员文章站 2022-03-10 17:44:20
一、pom文件配置相关starter系列坐标参考: 名称 描述...

一、pom文件配置

相关starter系列坐标参考:

名称 描述
spring-boot-starter 核心spring boot starter,包括自动配置支持,日志和yaml
spring-boot-starter-actuator 生产准备的特性,用于帮我们监控和管理应用
spring-boot-starter-amqp 对”高级消息队列协议”的支持,通过spring-rabbit实现
spring-boot-starter-aop 对面向切面编程的支持,包括spring-aop和aspectj
spring-boot-starter-batch 对spring batch的支持,包括hsqldb数据库
spring-boot-starter-cloud-connectors 对spring cloud connectors的支持,简化在云平台下(例如,cloud foundry 和heroku)服务的连接
spring-boot-starter-data-elasticsearch 对elasticsearch搜索和分析引擎的支持,包括spring-data-elasticsearch
spring-boot-starter-data-gemfire 对gemfire分布式数据存储的支持,包括spring-data-gemfire
spring-boot-starter-data-jpa 对”java持久化api”的支持,包括spring-data-jpa,spring-orm和hibernate
spring-boot-starter-data-mongodb 对mongodb nosql数据库的支持,包括spring-data-mongodb
spring-boot-starter-data-rest 对通过rest暴露spring data仓库的支持,通过spring-data-rest-webmvc实现
spring-boot-starter-data-solr 对apache solr搜索平台的支持,包括spring-data-solr
spring-boot-starter-freemarker 对freemarker模板引擎的支持
spring-boot-starter-groovy-templates 对groovy模板引擎的支持
spring-boot-starter-hateoas 对基于hateoas的restful服务的支持,通过spring-hateoas实现
spring-boot-starter-hornetq 对”java消息服务api”的支持,通过hornetq实现
spring-boot-starter-integration 对普通spring-integration模块的支持
spring-boot-starter-jdbc 对jdbc数据库的支持
spring-boot-starter-jersey 对jersey restful web服务框架的支持
spring-boot-starter-jta-atomikos 对jta分布式事务的支持,通过atomikos实现
spring-boot-starter-jta-bitronix 对jta分布式事务的支持,通过bitronix实现
spring-boot-starter-mail 对javax.mail的支持
spring-boot-starter-mobile 对spring-mobile的支持
spring-boot-starter-mustache 对mustache模板引擎的支持
spring-boot-starter-redis 对redis键值数据存储的支持,包括spring-redis
spring-boot-starter-security 对spring-security的支持
spring-boot-starter-social-facebook 对spring-social-facebook的支持
spring-boot-starter-social-linkedin 对spring-social-linkedin的支持
spring-boot-starter-social-twitter 对spring-social-twitter的支持
spring-boot-starter-test 对常用测试依赖的支持,包括junit, hamcrest和mockito,还有spring-test模块
spring-boot-starter-thymeleaf 对thymeleaf模板引擎的支持,包括和spring的集成
spring-boot-starter-velocity 对velocity模板引擎的支持
spring-boot-starter-web 对全栈web开发的支持, 包括tomcat和spring-webmvc
spring-boot-starter-websocket 对websocket开发的支持
spring-boot-starter-ws 对spring web服务的支持

二、yml文件配置

yml文件放在resources目录下

三、sql映射文件配置

sql映射文件路径在"resources/mappers/"下

四、ehcahe.xml 文件

配置在resources下

到此这篇关于springboot环境配置知识总结的文章就介绍到这了,更多相关springboot环境配置内容请搜索以前的文章或继续浏览下面的相关文章希望大家以后多多支持!