spring 设置 devtools
- 1: complier -> automatical
- 2:ctrl+shift+alt+/ -> registry -> app.running
默认数据源
- 1: exclude={DataSourceAutoConfiguration.class,DataSourceTransactionManagerAutoConfiguration.class}
- 2: 多数据源使用 @Primery @Order
使用spring aop模块
- 1: spring.aop.auto=true
- 2: spring.aop.proxy-target-class=false
性能测试框架: dropwizard metrics 作为打造APM原型的起点
- 1: dropwizard提供了几个注解: Timed Gauge Counted Metered ExceptionMetered
- 2:
spring security
- 1: security.user.name = xxx security.user.password=xxx
- 2: 核心是 认证和授权 (p61)