ssm框架
liujiding
The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.
展开
-
Spring3.2.2中相关Jar包的作用
1.spring-aop-3.2.2.jar 包含在应用中使用Spring的AOP特性时所需的类。2.spring-aspects-3.2.2.jar 提供对AspectJ的支持,以便可以方便的将面向方面的功能集成进IDE中3.spring-beans-3.2.2.jar springIoC(依赖注入)的基础实现,所有应用都要用到的,原创 2017-07-16 17:26:27 · 498 阅读 · 0 评论 -
手把手教你ssm框架搭建
ssm框架搭建大致步骤是:1.先配置前端控制器(DispatcherServlet) 前端控制器其实就是一个servlet 所以应该配置在web.xml中 和配置普通的servlet差不多 (它会自动去web-inf下去查找一个名字为[servlet_name]-servlet.xml的文件 但是我们一般没有按这个规范命名或者没有将该文件放在web-info下面 所以此时我们应该在标签原创 2017-07-17 18:19:22 · 871 阅读 · 0 评论 -
Spring @Scheduled定时任务动态修改cron参数
Spring框架自3.0版本起,自带了任务调度功能,好比是一个轻量级的Quartz,而且使用起来也方便、简单,且不需要依赖其他的JAR包。秉承着Spring的一贯风格,Spring任务调度的实现同时支持注解配置和XML配置两种方式。 再来谈谈变态的项目需求:我们正在做一个智能数字电表的数据采集项目,项目最终会在多个工业园上线,每个工业园对电表数据的采集周期可以进行自定义,例如A工业园想每10转载 2017-11-23 18:21:19 · 11934 阅读 · 0 评论