SpringBoot文档之IO的阅读笔记
1.SpringBoot文档之Developing的阅读笔记2.SpringBoot文档之入门的阅读笔记3.SpringBoot文档之Build Tool Plugins的阅读笔记4.SpringBoot文档之SpringApplication的阅读笔记5.SpringBoot文档之Externalized Configuration的阅读笔记6.SpringBoot文档之Profiles的阅读笔记7.SpringBoot文档之构建包的阅读笔记8.SpringBoot文档之测试框架的阅读笔记9.SpringBoot文档之消息系统的阅读笔记
10.SpringBoot文档之IO的阅读笔记
11.SpringBoot文档之Data的阅读笔记12.SpringBoot文档之Web的阅读笔记13.SpringBoot文档之Logging的阅读笔记14.SpringBoot文档之Jar文件格式的阅读笔记15.SpringBoot文档之配置参数的元数据的阅读笔记16.SpringBoot文档之开源软件依赖的阅读笔记17.SpringBoot文档之JSON的阅读笔记Caching
-
Caching
SpringBoot提供组件spring-boot-starter-cache
,提供缓存能力。关键类,如下:
CacheManager
CacheResolver
CacheManagerCustomizer
ConcurrentMapCacheManager
关键注解,如下:
@EnableCaching
@Cacheable
参考资料
- Cache Abstraction
- CachingConfigurer
- spring-boot-data-geode
- Spring Boot for Apache Geode Reference Guide
Hazelcast
-
Hazelcast
关键类,如下:HazelcastConfigCustomizer
ManagementContext
加载配置信息的顺序,如下:
com.hazelcast.client.config.ClientConfig
spring.hazelcast.config
hazelcast.client.config
hazelcast-client.xml
Java应用的工作路径,或者类路径的根路径。hazelcast-client.yaml
Java应用的工作路径,或者类路径的根路径。
相关的配置参数,样例如下:
spring: hazelcast: config: "classpath:config/my-hazelcast.xml"
参考资料
Quartz Scheduler
-
Quartz Scheduler
SpringBoot提供组件spring-boot-starter-quartz
。
关键类,如下:Scheduler
SchedulerFactoryBean
JobDetail
JobBuilder
Calendar
Trigger
JobStore
关键注解,如下:
@QuartzTransactionManager
参考资料
Sending Email
-
Sending Email
关键类,如下:JavaMailSender
相关的配置参数,样例如下:
spring: mail: properties: "[mail.smtp.connectiontimeout]": 5000 "[mail.smtp.timeout]": 3000 "[mail.smtp.writetimeout]": 5000 参数的说明,可参考MailProperties。
参考资料
Validation
-
Validation
关键类,如下:ValidatorFactory
ValidationConfigurationCustomizer
MessageSource
关键注解,如下:
@Validated
参考资料
- Internationalization
- Hibernate Validator FAQ
- SpringMVC-----JSR303以及拦截器
- Spring MVC JSR-303验证框架之Hibernate-Validator
Calling REST Services
-
Calling REST Services
关键类,如下:RestClient
RestClientSsl
RestTemplate
RestTemplateBuilder
WebClient
WebClientSsl
ClientHttpRequestFactory
HttpMessageConverters
支持如下HTTP Client的实现,如下:
- Apache HttpClient
- Jetty HttpClient
- OkHttp (deprecated)
- Simple JDK client (HttpURLConnection)
参考资料
Web Services
-
Web Services
SpringBoot提供组件spring-boot-starter-webservices
。
关键类,如下:WebServiceTemplateBuilder
WebServiceTemplate
WebServiceMessageSender
相关的配置参数,样例如下:
spring: webservices: wsdl-locations: "classpath:/wsdl"
参考资料
Distributed Transactions With JTA
-
Distributed Transactions With JTA
关键类,如下:
JtaTransactionManager
本文来自博客园,作者:jackieathome,转载请注明原文链接:https://www.cnblogs.com/jackieathome/p/18378252
合集:
SpringBoot
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· PowerShell开发游戏 · 打蜜蜂
· 在鹅厂做java开发是什么体验
· 百万级群聊的设计实践
· WPF到Web的无缝过渡:英雄联盟客户端的OpenSilver迁移实战
· 永远不要相信用户的输入:从 SQL 注入攻防看输入验证的重要性