The questions provided in this repository are the summary of frequently asked questions across numerous companies. We cannot guarantee that these questions will actually be asked during your interview ...
/** * application 启动类,也就是传说中的spring boot 启动类了 */ @SpringBootApplication @MapperScan (basePackages = { "com.spring.dao" }) // mapper 扫描一下这个包 public class BootApplication { static public ...
IOC 不是单纯语法糖,是 Spring 整个生态的根基,AOP、声明式事务、自动配置全部建立在 IOC 容器之上。IOCJava后端 绝大多数Java后端初学者学习Spring IOC,只会死记「控制反转、依赖注入」八个名词,说不清: 不使用任何框架时,业务层需要依赖数据层对象,程序员 ...