Spring In Action update 2016.8.12 使用freemarker模板引擎 2016.3.31 阅读《Spring实战3rd》 之前间歇的阅读过,但是只是停留在理解的层面上,想要把每个例子跑通也需要一定的折腾。 注:每个示例都是一个单独的Maven Project。 2016.7.12 update 集成mybatis Spring集成JUnit单元测试 spitter-persistence-mybatis 从Spring MVC中返回json, spitter-web 中SpitterController 1. Spring之旅 依赖注入 AOP bean的初始化过程 spring容器 Spring还有很多值得学习的框架,如安全 跑起来√ knights 2. 装配Bean “initialization on demand holder”创建单例模式的理解,参考 Initialization-on-demand holder idiom Spring中单例的概念限于Spring上下文中,遵守约定 内部bean适用于setter注入和构造器注入,内部bean不能被复用 SpEL表达式 跑起来√ springidol 3. 最小化Spring XML配置 4 种自动装配 byName, byType, contructor, autodetect 可以在一个应用上下文中定义多个配置文件,每个配置文件设置自己的默认自动装配策略(default-autowire) 如果使用constructor自动装配策略,就不能混合使用constructor-arg 注解方式可以实现更细粒度的自动装配,Spring容器默认禁用注解装配,要在配置文件中开启 \x26lt
Related Posts
Foundations of Agile Python Development 英文pdf版 PDF 免费下载
- job51
- 2016年9月3日
- 0
你一直迷恋Python语言,并掌握了它的许多细微差 […]