Book
关于
标签
分类
读书笔记
人性的枷锁
酒国
消息队列
kafka
rocketmq
rabbitmq
redis
Spring
控制反转(IOC)/依赖注入(DI)
ApplicationContext 容器
SSM 框架整合
Spring Boot
应用上下文配置类(ConfigurableApplicationContext)
核心注解(@SpringBootApplication)
自动配置类加载(@EnableAutoConfiguration)
自动导入包(@AutoConfigurationPackage)
类导入(@Import)
条件导入(@Conditional)
全局配置(application.properties)
多环境配置切换
属性加密
日志配置
属性松散绑定规则
全局配置属性注入
逐个注入(@Value)
批量注入(@ConfigurationProperties @EnableConfigurationProperties)
请求拦截(HandlerInterceptor & Filter & @WebFilter)
前后端数据交互对接
全局响应体处理器(ResponseBodyAdvice)
取消封装
响应体空值处理
全局异常处理类
事务
TransactionManager 事务管理器
事务属性
事务状态
声明式事务(xml & 注解)
配置xml方式
创建事务管理器
使用注解方式(@Transactional)
环绕通知使用事务(@Around)
编程式事务(TransactionTemplate & PlatformTransactionManager)
面试题
1.Java基础面试题
2.Spring 面试题
3.数据库面试题
4.中间件面试题
5.运维面试题
6.场景题
7.算法题
大语言模型
运维
软件测评
开源测评
系统设计最佳实践
QA
安装部署
TransactionManager 事务管理器
Spring并不直接管理事务,而是提供了多种事务管理器,他们将事务管理的职责委托给Hibernate或者JTA等持久化机制所提供的相关平台框架的事务来实现。 Spring事务管理器的接口是org.springframework.transaction.PlatformTransactionManager,通过这个接口,Spring为各个平台如 ...
2022-06-28
Spring
ApplicationContext 容器
ApplicationContext 是 Spring 的一个核心接口或容器,用于管理应用程序中的所有 bean 对象,并负责实例化,配置和组装 Bean ApplicationContext 容器通过读取配置元数据(xml配置)来获取有关要实例化,配置和组装哪些对象的指令。配置元数据以 XML,Java 注解或 Java ...
2022-06-28
Spring
控制反转(IOC)/依赖注入(DI)
控制反转(IoC)也被称为依赖注入(DI),是从两个角度描述的同一个概念。 依赖注入(DI)是一个对象定义其依赖关系的过程。对象仅通过构造函数参数、工厂方法的参数或在对象实例被构造或从工厂方法返回后设置的属性来定义与一起工作的其他对象的依赖关系。从工厂方法返回。然后容器在创建 bean 时注入这些依赖项。从根本上讲,此过程是通过使用类的直接构造或服务定 ...
2022-06-28
Spring
Spring
什么是 Spring 框架 Spring 包括许多框架,例如 Spring framework、SpringMVC、SpringBoot、Spring Cloud、Spring Data、Spring Security 等。 Spring framework 简称为 Spring 框架。Spring就是一个容器,以xml ...
2022-06-28
Spring
安装部署
Jenkins 安装报错问题描述 问题分析Jenkins 要求的Jdk版本必须是11 问题解决12vim /lib/systemd/system/jenkins.serviceEnvironment="JAVA_HOME=/usr/lib/jvm/java-11" ...
2022-06-28
QA
Kafka
Kafka 的功能Kafka 是一个分布式流式处理平台,流平台具有三个关键功能: 消息队列:发布和订阅消息流,这个功能类似于消息队列,这也是 Kafka 也被归类为消息队列的原因。 容错的持久方式存储记录消息流: Kafka 会把消息持久化到磁盘,有效避免了消息丢失的风险·。 流式处理平台:在消息发布的时候进行处理,Kafka 提供了一个完整的流式处理类库。 Kafka 重要的五个概念Kafk ...
2022-06-27
消息队列
人性的枷锁
书名 人性的枷锁 作者 毛姆 简介 主人公菲利普天生患有足部畸形,从小失去父母。讲述了作为主角,他的人生故事充满了挣扎和自我探索。从孩童时期的孤独和自卑,到成年后对生活的深刻理解 书摘 生命中有两大乐事:思想自由和行动自由。 生而受难,久难而终。生活的意义在于生活本身,而不在于你如何去描写。 我在这世上只有两件事不会辜负:爱情和艺术。 读后感 人内心的枷锁,无论是社会的期望、 ...
2021-03-27
读书笔记
酒国
书名 酒国 作者 莫言 简介 主人公丁钩儿被派往酒国市调查官员烹食婴儿的案件。 书摘 酒国没有茶,以酒代茶。 吃的影响已经到了这样一种地步,吃可以改变一切。 他们把孩子当成商品,当成了可以换钱的东西,这比直接吃掉孩子还要残忍。 读后感 揭示了社会腐败、人性的黑暗面以及权力对人的异化 “婴儿宴”是一个极具冲击力的象征,它不仅批判了贪腐和道德沦丧,也探讨了人性在极端条件下的扭曲 ...
2021-03-27
读书笔记
<
1
…
4
5
6