码迷,mamicode.com
首页 >  
搜索关键字:spring task    ( 52611个结果)
使用JOTM实现分布式事务管理(多数据源)
使用spring和hibernate可以很方便的实现一个数据源的事务管理,但是如果需要同时对多个数据源进行事务控制,并且不想使用重量级容器提供的机制的话,可以使用JOTM达到目的. JOTM的配置十分简单,spring已经内置了对J...
分类:其他好文   时间:2014-08-14 14:22:59    阅读次数:262
Spring 的 init-method 和 destory-method
Spring 的 init-method 和 destory-method...
分类:编程语言   时间:2014-08-14 14:11:49    阅读次数:229
[Spring MVC]学习笔记--FreeMarker的使用
还是先贴出该例子存于github上的位置https://github.com/lemonbar/spring-mvc-freemarkerSping-Framework 的官方文档简单列出了在spring-mvc中如何使用freemarker, 但是相对来说提供的信息和例子太少, 所以在这给出一个详...
分类:编程语言   时间:2014-08-14 14:00:18    阅读次数:262
Struts2+Hibernate+Spring(SSH)三大框架整合jar包
Struts2 + Spring3 + Hibernate3 框架整合1、 每个框架使用 (开发环境搭建 )* 表现层框架 struts2 1) jar包导入: apps/struts2_blank.war 包含struts2 开发最基本的jar包 struts2-convention-plugi....
分类:编程语言   时间:2014-08-14 13:56:08    阅读次数:225
【HackerRank】Lonely Integer
There areNintegers in an arrayA. All but one integer occur in pairs. Your task is to find out the number that occurs only once.Input FormatThe first l...
分类:其他好文   时间:2014-08-14 13:55:18    阅读次数:242
《java.util.concurrent 包源码阅读》11 线程池系列之ThreadPoolExecutor 第一部分
先来看ThreadPoolExecutor的execute方法,这个方法能体现出一个Task被加入到线程池之后都发生了什么: public void execute(Runnable command) { if (command == null) throw...
分类:编程语言   时间:2014-08-14 13:24:48    阅读次数:262
非结构体线段树版 ZJU 1610 Count the Colors (线段树区间更新)
Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones. Your task is counting the segments of different colors you can see at last. ...
分类:其他好文   时间:2014-08-14 10:47:38    阅读次数:222
Spring - 集成多数据源于MyBatis
其实一个工程多数据源比较常见。比如我们将所有工程中使用到的定时任务都持久化到同一个数据库,或者我们为工作流框架单独提供一个数据源。其实这些都好说,毕竟这些情况都是框架替我们做一些工作,我们几乎没有必要去访问这些数据;或者框架已经提供了方便的API去访问持久化数..
分类:编程语言   时间:2014-08-14 04:05:28    阅读次数:551
Spring 接收转换 jquery ajax json数组字符串
1、ajax发送json字符串 组建对象 var student = new Object(); student.name = "柯乐义"; student.age = "25"; student.location = "广州"; var student2 = new Object(); student2.name = "柯范德萨"; student2.age = "45"; stude...
分类:编程语言   时间:2014-08-14 01:38:57    阅读次数:318
Spring WebSocket教程(二)
文章详细解释了Spring WebSocket的使用方法,并且使用Spring WebSocket开发了一个聊天室。 这是我的毕业设计,我的毕业设计是一个在线协同备课系统,用于多人在线同时且实时操作文档和演示文稿,其中包含了聊天这个小功能,所以使用它来讲解一下Spring WebSocket的使用。 这一篇文章,就要直接实现聊天的功能,并且,在聊天功能的基础上,再实现缓存一定聊天记录的功能。...
分类:编程语言   时间:2014-08-14 01:35:07    阅读次数:579
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!