Spring Boot Reference Documentation
reading list
Documentation Overview : 總覽
spring-cli 可以直接 run groovy
Getting Started : Introducing Spring Boot, System Requirements, Servlet Containers, Installing Spring Boot, and Developing Your First Spring Boot Application
Using Spring Boot : Build Systems, Structuring Your Code, Configuration, Spring Beans and Dependency Injection, DevTools, and more. : 開發一個springboot流程
Core Features :Profiles, Logging, Security, Caching, Spring Integration, Testing, and more.
ApplicationContextEvent 不能用 @Bean
創建
META-INF/spring.factories : org.springframework.context.ApplicationListener =com.example.project.MyListener
ApplicationRunner or CommandLineRunner
@DataElasticsearchTest
, @DataJpaTest
, @DataJdbcTest
Web :Servlet Web, Reactive Web, GraphQL, Embedded Container Support, Graceful Shutdown, and more.
mvc
Spring MVC 自動配置
ContentNegotiatingViewResolver
and BeanNameViewResolver
static resources, including support for WebJars
Converter
, GenericConverter
, and Formatter
beans
HttpMessageConverters
MessageCodesResolver
ConfigurableWebBindingInitializer
ErrorViewResolver : @ExceptionHandler , @ControllerAdvice
shutdown
web security
web sesion
Data :SQL and NOSQL data access.
jpa
jdbc
jooq
r2dbc
redis
mongodb
neo4j
elasicsearch
couchbase
ldap
infucdb
IO Caching, Quartz Scheduler, REST clients, Sending email, Spring Web Services, and more.
cache provider
generic : CacheManager
: org.springframework.cache.Cache
jcache : JCacheCacheManager
: spring.cache.jcache.provider
quartz
email
restTemplate
webClient
JTA
Messaging :JMS, AMQP, Apache Kafka, RSocket, WebSocket, and Spring Integration.
Container Images : build docker image , fat jar
Production-ready Features :
監控 Monitoring,
Metrics,
Auditing, and more.
Deploying Spring Boot Applications :Deploying to the Cloud, and Installing as a Unix application.
k8s : Kubernetes Container Lifecycle
Heroku