框架整合
文章平均质量分 79
rockets311
Im a coder...
展开
-
SSH中使用annotation
在ssh整合的时候,感觉Hibrenate和Spring的Ioc使用annotation会好一点。这里,初步介绍一下是怎么用的。 少说多做,不解释,看代码: 1:hibernate.cfg.xml 略 2:Struts.xml /success.jsp 3:app原创 2011-12-10 15:49:46 · 1062 阅读 · 2 评论 -
Apache commons-pool
1、假如创建User很麻烦 package com.test.pool; public class User { private int id; private String name; public User() { } public User(String key) { if(null == key || key.indexOf("_") == -1)原创 2014-03-01 20:29:30 · 781 阅读 · 0 评论