应用场景:1、某些耗时较长的而用户不需要等待该方法的处理结果2、某些耗时较长的方法,后面的程序不需要用到这个方法的处理结果时在spring的配置文件中加入对异步执行的支持
使用方法import org.springframework.scheduling.an...
分类:
编程语言 时间:
2014-05-16 22:11:38
阅读次数:
343
Error log:Problem
Description-------------------1.Prepare DatabaseRun the RCU utilityCreate
Prefix: DEVSelect:IdentityManagement->Oracle Adaptive Acce...
分类:
其他好文 时间:
2014-05-16 21:18:44
阅读次数:
426
class base64{ /** * 加密字符串 * @access static * @param
string $data 字符串 * @param string $key 加密key * @return string */ publ...
分类:
Web程序 时间:
2014-05-14 10:18:23
阅读次数:
333
当学习或工作时,有些同学会谈到熟悉struts、hibernate、spring等等框架,貌似熟悉这些框架是精通java的表现,但是我们应该首先弄明白为什么要学框架?是为了学习而学习?还是为了工作而学习?
就拿struts框架举例子,为什么要学习struts框架? 要了解struts框架,首先必须....
分类:
其他好文 时间:
2014-05-14 10:17:22
阅读次数:
257
using System;using System.Collections.Generic;using
System.Text;using System.Data;using System.Xml;using System.IO;using
System.Web;namespace Utility{...
分类:
Web程序 时间:
2014-05-14 09:54:50
阅读次数:
324
Import CSV data to Sqlite.
导入CSV数据到SQLite.在做数据导入的时候,只需要理清楚两点就可以了。1, 提取 Title 作为field name.2,
数据写入数据池。这里SQLite很好的为我们解决了这类问题。fieldsnames 属性很高的解决了 提取titl...
分类:
数据库 时间:
2014-05-14 09:41:36
阅读次数:
380
所需jar包:bean: 1 package com.myspring.bean; 2 3
public class User { 4 private String id; 5 private String name; 6 7 public
String getId() ...
分类:
编程语言 时间:
2014-05-14 08:55:20
阅读次数:
364
前一篇简单介绍了Spring MVC的一些知识,下面就要开始学习如何把Spring
MVC运用到具体的项目中去。首先还是从一个简单的Hello
World项目说起:我机器的开发环境为:Ubuntu12.04(不同操作系统对本系列项目没有什么影响);开发工具:Eclipse;数据库:MySql5.5....
分类:
编程语言 时间:
2014-05-14 08:18:27
阅读次数:
540
执行命令:madconfig.bat create_instance1.实例的名称Enter
the Initiate Master Data Engine instance name:MPI2.实例的文件路径Enter the Initiate
Master Data Engine instanc...
分类:
其他好文 时间:
2014-05-14 08:05:06
阅读次数:
326
@Resource的作用相当于@Autowired,只不过@Autowired按byType自动注入,而@Resource默认按byName自动注入罢了。@Resource有两个属性是比较重要的,分是name和type,Spring将@Resource注解的name属性解析为bean的名字,而typ...
分类:
其他好文 时间:
2014-05-14 07:46:38
阅读次数:
270