• springboot中starters 提供的常用的依赖


    1. 名字有什么含义:所有的starters遵循一个相似的命名模式: spring-boot-starter-* ,在这里 * 是一种特殊类型的应用程序。 该命名结构旨在帮你找到需要的starter。很多IDEs集成的Maven允许你通过名称搜索依赖。例如,使用相应的Eclipse或STS 插件,你可以简单地在POM编辑器中点击 ctrl-space ,然后输入"spring-boot-starter"可以获取一个完整列表。

        下面的应用程序starters是Spring Boot在 org.springframework.boot 组下提供的:

       (1) spring-boot-starter

                核心Spring Boot starter,包括自动配置支持,日志和YAML

       (2) spring-boot-starter-actuator

                生产准备的特性,用于帮你监控和管理应用

       (3) spring-boot-starter-amqp

                对"高级消息队列协议"的支持,通过 spring-rabbit 实现

       (4) spring-boot-starter-aop

                对面向切面编程的支持,包括 spring-aop 和AspectJ

       (5) spring-boot-starter-mail

                对 javax.mail 的支持

       (6) spring-boot-starter-mobile

                对 spring-mobile 的支持

       (7) spring-boot-starter-redis

                对REDIS键值数据存储的支持,包括 spring-redis

       (8) spring-boot-starter-security

               对 spring-security 的支持

       (9) spring-boot-starter-test

                对常用测试依赖的支持,包括JUnit, Hamcrest和Mockito,还有 spring-test 模块

       (10) spring-boot-starter-thymeleaf

                对Thymeleaf模板引擎的支持,包括和Spring的集成

       (11) spring-boot-starter-web

                对全栈web开发的支持,包括Tomcat和 spring-webmvc

       (12) spring-boot-starter-websocket

                对WebSocket开发的支持

       (13) spring-boot-starter-remote-shell

                添加远程 ssh shell支持

       (14) spring-boot-starter-jetty

                导入Jetty HTTP引擎(作为Tomcat的替代)

       (15) spring-boot-starter-log4j

                对Log4J日志系统的支持

       (16) spring-boot-starter-logging

                导入Spring Boot的默认日志系统(Logback)

        (17)spring-boot-starter-tomcat

                导入Spring Boot的默认HTTP引擎(Tomcat)

  • 相关阅读:
    基于docker swarm的搭建高可用web集群
    软链接和硬链接的区别
    PTA(Basic Level) Practice 刷题(部分) Python实现
    使用官方提供的方式在CentOS上安装docker
    mysql表分区的限制
    有个免费云服务器速度很快!
    PhpMyAdmin 配置文件现在需要一个短语密码的解决方法
    Django笔记:Memcached缓存系统
    Django笔记:文件上传
    Django笔记:表单验证
  • 原文地址:https://www.cnblogs.com/jishan-coder/p/7723566.html
Copyright © 2020-2023  润新知