![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
省思
这个作者很懒,什么都没留下…
展开
-
spring简介
1.spring的关键策略--以简化Java开发(1)基于pojo的轻量级和最小侵入编程(2)通过依赖注入和面向接口实现松耦合(3)基于切面和惯例进行声明式编程(4)通过切面和模板减少样本式代码2.非侵入编程是指在spring框架中不必继承或实现spring特定的类或接口,将应用与框架绑死。在spring框架中的pojo类编写后在非spring的应用中能够同样起效。3.原创 2018-01-06 14:17:46 · 179 阅读 · 0 评论 -
使用spring @Scheduled实现定时任务
转载于:http://blog.csdn.net/prisonbreak_/article/details/49180307 Spring配置文件xmlns加入:xmlns:task="http://www.springframework.org/schema/task"xsi:schemaLocation中加入: http://www.springframework.org转载 2018-01-16 14:51:30 · 7377 阅读 · 0 评论