摘要: 对象序列化:将对象的状态信息持久保存的过程。 注意:序列化的类型,必须实现Serializable接口 对象反序列化:根据对象的状态信息恢复对象的过程。 在Redis中有2种常用的方式:字节数组和json串 1.字节数组 添加依赖 <!-- https://mvnrepository.com/art 阅读全文
posted @ 2020-11-14 17:52 花红 阅读(2092) 评论(0) 推荐(0)
摘要: SpringBoot入口类 package SpringBootRedisConfig; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; impor 阅读全文
posted @ 2020-11-13 09:03 花红 阅读(151) 评论(0) 推荐(0)
摘要: 分析自动配置原理 以**HttpEncodingAutoConfiguration(Http编码自动配置)**为例解释自动配置原理; //表示这是一个配置类,和以前编写的配置文件一样,也可以给容器中添加组件; @Configuration //启动指定类的ConfigurationPropertie 阅读全文
posted @ 2020-11-09 08:32 花红 阅读(78) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-11-07 21:30 花红 阅读(42) 评论(0) 推荐(0)
摘要: Martin Flower于2014年3月25日写的《Microservices》,详细的阐述了什么是微服务。 ·原文地址: http:// martinfowler.com/articles/microservices.html ·翻译: https:/ / www.cnblogs.com/liu 阅读全文
posted @ 2020-11-07 17:14 花红 阅读(121) 评论(0) 推荐(0)
摘要: MyBatis总结笔记 简介 GitHub源码: https://github.com/Donkequan/Mybatis-Study 配置用的 jdk13.0.2 (jdk1.7以上均可) Maven 3.6.3 MySQL 5.7 (mysql5.6以上均可) 配置 官网文档: https:// 阅读全文
posted @ 2020-11-07 17:12 花红 阅读(47) 评论(0) 推荐(0)