spring boot examples

1 Actuator

actuator是spring boot提供的对应用系统的自省和监控的集成功能,可以对应用系统进行配置查看、相关功能统计等

路径描述
/autoconfig 提供了一份自动配置报告,记录哪些自动配置条件通过了,哪些没通过
/beans 描述应用程序上下文里全部的Bean,以及它们的关系
/env 获取全部环境属性
/configprops 描述配置属性(包含默认值)如何注入Bean
/dump 获取线程活动的快照
/health 报告应用程序的健康指标,这些值由HealthIndicator的实现类提供
/info 获取应用程序的定制信息,这些信息由info打头的属性提供
/mappings 描述全部的URI路径,以及它们和控制器(包含Actuator端点)的映射关系
/metrics 报告各种应用程序度量信息,比如内存用量和HTTP请求计数
/shutdown 关闭应用程序,要求endpoints.shutdown.enabled设置为true
/trace 提供基本的HTTP请求跟踪信息(时间戳、HTTP头等)

2 spring boot admin

Spring Boot Actuator的基础上提供简洁的可视化WEB UI

3 Spring elasticsearch

ElasticsearchRepository

4 spring data jpa

SpringData : Spring 的一个子项目。用于简化数据库访问,支持NoSQL 和 关系数据存储。其主要目标是使数据库的访问变得方便快捷。

SpringData 项目所支持 NoSQL 存储:

  •  MongoDB (文档数据库)
  •  Neo4j(图形数据库)
  •  Redis(键/值存储)
  •  Hbase(列族数据库)

SpringData 项目所支持的关系数据存储技术:

  • JDBC
  • JPA

JPA Spring Data : 致力于减少数据访问层 (DAO) 的开发量, 开发者唯一要做的就只是声明持久层的接口,其他都交给 Spring Data JPA 来帮你完成!

5、spring mongodb

MongoTemplate

6、Spring mybatis

7、Spring redis

8、scheduler

9、shiro

10、webflux

Mono

ref:

https://www.jianshu.com/p/1aadc4c85f51

http://www.ityouknow.com/springboot/2018/02/06/spring-boot-actuator.html

https://mp.weixin.qq.com/s?__biz=MzU4ODI1MjA3NQ==&mid=2247483771&idx=1&sn=7c5f103a816c16e453e04141d7433bf9&chksm=fdded7bfcaa95ea9a5dbe81114d32c1908bf8da0b3366bfbfcbe2473445cdba73c5e2060d5f3#rd

https://blog.csdn.net/u013673976/article/details/73650889#%E5%88%86%E7%89%87shards

https://spring.io/projects/spring-data-jpa#overview

https://blog.csdn.net/daniel7443/article/details/80761340

原文地址:https://www.cnblogs.com/huilei/p/10832618.html