摘要: SPI机制 传统的springmvc项目,需要我们指定web.xml等配置文件,但是,在spring的官网,官方推荐的并不是xml格式的,而是 public class MyWebApplicationInitializer implements WebApplicationInitializer 阅读全文
posted @ 2019-12-15 16:58 小小少年- 阅读(271) 评论(0) 推荐(0) 编辑
摘要: springboot核心原理: 1.基于springmvc无配置文件完全注解化 + 内置web容器实现springboot框架。main函数方式的启动 2.通过maven快速整合第三方框架 springboot两个核心 内置的Tomcat(ServletWebServerFactoryAutoCon 阅读全文
posted @ 2019-12-15 14:16 小小少年- 阅读(806) 评论(0) 推荐(1) 编辑