03 2020 档案
摘要:回顾以前,架构! 三层机构 + MVC 开发框架 Spring IOC AOP IOC(控制反转):原来我们需要自己创建对象,现在交给IOC容器去做!当我们需要的时候,去拿即可; AOP:(面向切面编程) 为了解决什么?在不影响业务的情况下,实现动态增加功能,大量应用在日志,事务..等方面 Sp
阅读全文
摘要:异步处理 项目结构 创建SpringBoot项目,添加web支持 编写hello项目 @RestController public class AsyncController { @Autowired AsyncService asyncService; @GetMapping("/hello")
阅读全文