摘要:
spring boot启动性能优化 spring boot中使用spring-context-indexer加快启动速度 Spring中@ComponentScan扫描的package包含的类越多的时候,Spring模式注解解析耗时就越长,服务启动时候就越长,针对此问题Spring提供了@Index 阅读全文
摘要:
1.IOC是什么 IOC(Inversion of Control 即控制反转)将对象交给Spring容器管理 控制反转(Inversion of Control, 缩写为IOC),是面向对象编程中的一种设计原则,可以用来减低计算机代码之间的耦合度。其中最常见的方式叫做依赖注入(Dependency 阅读全文