上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: spring task,可以将它比作一个轻量级的Quartz,而且使用起来很简单,除spring相关的包外不需要额外的包,而且支持注解和配置文件两种 形式,下面将分别介绍这两种方式。 第一种:配置文件方式 第一步:编写作业类 即普通的pojo,如下: 第二步:在spring配置文件头中添加命名空间及 阅读全文
posted @ 2017-09-14 17:56 wdmiye 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-09-04 10:23 wdmiye 阅读(198) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/lmy86263/article/details/53150091 Mybatis不像hibernate中那么自动化,通过@Column注解或者直接使用实体类的属性名作为数据列名,而是需要自己指定实体类属性和 数据表中列名之间的映射关系,这一点让用惯了Hib 阅读全文
posted @ 2017-09-04 09:44 wdmiye 阅读(12396) 评论(1) 推荐(1) 编辑
摘要: 下载ActiveMQ 官方网站:http://activemq.apache.org/ 下载,解压缩 以前台安装 ctiveMQ默认使用的TCP连接端口是61616, 通过查看该端口的信息可以测试ActiveMQ是否成功启动 netstat -an|find “61616” 监控 ActiveMQ默 阅读全文
posted @ 2017-09-01 17:03 wdmiye 阅读(305) 评论(0) 推荐(0) 编辑
摘要: JMS(Java Message Service,java消息服务)API是一个消息服务的标准或者说是规范,允许应用程序组件基于JavaEE平台创建、发送、接收和读取消息。它使分布式通信耦合度更低,消息服务更加可靠以及异步性。 JMS两种消息模型 1、点对点模型 点对点模型(Pointer-to-P 阅读全文
posted @ 2017-09-01 16:10 wdmiye 阅读(511) 评论(0) 推荐(1) 编辑
摘要: Mybatis判断int是否为空只要!=null就行了 阅读全文
posted @ 2017-08-18 15:29 wdmiye 阅读(2589) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/leechenxiang/p/5490930.html 在springmvc.xml中加入 依赖包: 阅读全文
posted @ 2017-08-18 11:19 wdmiye 阅读(455) 评论(0) 推荐(0) 编辑
摘要: SpringMVC服务器验证一种是有两种方式,一种是基于Validator接口,一种是使用Annotaion JSR-303标准的验证,下面主要是学习这两种,工作中推荐后者,方便很多 http://blog.csdn.net/u012706811/article/details/51079740 一 阅读全文
posted @ 2017-08-18 11:13 wdmiye 阅读(2150) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/chh_jiang/article/details/4557461 当finall块中包含return语句时,Eclipse会给出警告“finally block does not complete normally”,原因分析如下: 1、不管try块、ca 阅读全文
posted @ 2017-08-16 15:43 wdmiye 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1 引入maven依赖 2 web.xml中配置拦截器 3 配置spring-shiro.xml 阅读全文
posted @ 2017-08-16 09:28 wdmiye 阅读(149) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页