上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页
摘要: 三层架构 :MVC 架构本质:解耦 开发框架:Spring 轻量级的java开源框架,容器 目的:解决企业开发的复杂性 IOC:控制反转(提供一个容器) 原来我们都是自己一步步操作,现在交给容器,需要什么就去拿就可以 AOP:面向切面编程,本质动态代理(为了解决不影响业务本来的情况下实现动态增加功能 阅读全文
posted @ 2021-12-06 13:43 一刹流云散 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 进程通信方式 本地过程调用:Local 同一台电脑 远程过程调用:RPC 不同电脑 RPC核心:通信以及序列化(方便数据传输:将对象转换为字节码传输) Dubbo Admin:是一个监控管理后台,查看我们注册了哪些服务,哪些服务被消费了 Zookeeper:是一个注册中心 Dubbo:jar包 <! 阅读全文
posted @ 2021-12-05 21:31 一刹流云散 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 任务 异步任务 启动类加上@EnableAsync注解 @EnableAsync @SpringBootApplication public class Springboot10MessionyibuApplication { public static void main(String[] arg 阅读全文
posted @ 2021-12-05 17:19 一刹流云散 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 世界上最流行的Api框架 RestFul Api文档在线自动生成工具=>Api文档与Api定义同步更新 直接运行,可以在线测试Api接口(controller(RequestMapping)) Swagger官网https://swagger.io/ 1. 在项目中使用Swagger需要导入jar包 阅读全文
posted @ 2021-12-05 16:29 一刹流云散 阅读(1750) 评论(0) 推荐(0) 编辑
摘要: springboot使用swagger3.0时,访问http://localhost:8080/swagger-ui.html页面404,无法访问 需要导入springfox启动类依赖 <dependency> <groupId>io.springfox</groupId> <artifactId> 阅读全文
posted @ 2021-12-05 15:06 一刹流云散 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 报错 Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-12-05 14:59:37.480 ERROR 525 阅读全文
posted @ 2021-12-05 15:01 一刹流云散 阅读(2447) 评论(0) 推荐(0) 编辑
摘要: 导入相关依赖 <dependency> <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf-spring5</artifactId> </dependency> <dependency> <groupId>org.thymeleaf.extr 阅读全文
posted @ 2021-12-04 21:32 一刹流云散 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 一.CSRF是什么? CSRF(Cross-site request forgery),中文名称:跨站请求伪造,也被称为:one click attack/session riding,缩写为:CSRF/XSRF。 二.CSRF可以做什么? 你这可以这么理解CSRF攻击:攻击者盗用了你的身份,以你的 阅读全文
posted @ 2021-12-04 17:06 一刹流云散 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 导入security与thyemleaf与security整合的依赖 注意!SpringBoot版本过高可能不支持 最低支持2.0.9 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-s 阅读全文
posted @ 2021-12-04 16:58 一刹流云散 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Entry 由于Map中存放的元素均为键值对,故每一个键值对必然存在一个映射关系。 Map中采用Entry内部类来表示一个映射项,映射项包含Key和Value (我们总说键值对键值对, 每一个键值对也就是一个Entry) Map.Entry里面包含getKey()和getValue()方法 Iter 阅读全文
posted @ 2021-12-03 19:51 一刹流云散 阅读(418) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页