- 博客(10)
- 收藏
- 关注
原创 struts2 跳转
class="XXXX.NotifyTradeSuccessAction">redirect.htm${successMessage}trueredirect.htm${errorMessage}true
2014-08-26 17:20:25 261
原创 rsa
package RSA.rsa;import java.security.Key;import java.security.KeyFactory;import java.security.KeyPair;import java.security.KeyPairGenerator;import java.security.PrivateKey;import java.
2014-08-26 17:19:21 281
原创 lucence helloword
需要lucene-analyzers-3.6.2.jarlucene-core-3.6.2.jarimport java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.IOException;import java.i
2014-08-26 17:18:34 232
转载 缓存设计
public interface Computable { V compute(A arg) throws InterruptedException;}public class ExpensiveFunctuion implements Computable { public Integer compute(String arg) throws
2014-08-26 17:17:44 227
原创 简单IOC
public class BeanDefinition { private String id; // 对应 spring配置文件中的id private String className; // 对应 spring配置文件中的class // 定义 bean中 属性的节点 集合 private List propertys = new ArrayL
2014-08-26 17:17:25 260
原创 调用oracle type 去调试
DECLARE pos_rec CM.CM_POS_REC := cm.cm_pos_rec(); IO_REASON_MSG VARCHAR2(200);BEGIN -- Modify the code to initialize the variable -- POS_REC := NULL; pos_rec.sec_name := 'name'; p
2014-08-26 17:17:13 329
原创 得到包下所有类
private static List getClass(String packageName) { File file = new File("");// 为了打包后运行jar包可以得到地址 String filePath = "/" + file.getAbsolutePath().replace("\\", "/")
2014-08-26 17:15:30 220
原创 spring动态生成bean
读取properties 然后动态生成lineTokenizer bean. GenericApplicationContext context = new GenericApplicationContext(); PropertySourcesPlaceholderConfigurer pph = new PropertySourcesPl
2014-08-26 17:14:55 489
转载 oracle隔离级别
隔离级别(isoation eve) 隔离级别定义了事务与事务之间的隔离程度。 隔离级别与并发性是互为矛盾的:隔离程度越高,数据库的并发性越差;隔离程度越低,数据库的并发性越好。 ANSI/ISO SQ92标准定义了一些数据库操作的隔离级别: 未提交读(read uncommitted) 提交读(read committed) 重复读(repeatabe read) 序
2014-08-26 17:14:31 403
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人