- 博客(10)
- 收藏
- 关注
转载 spring2.5事务&aop (3)
配置事务:<tx:advice id="txAdvice" transaction-manager="txManager"> <tx:attributes> &...
2008-05-17 09:17:55
92
转载 spring2.5事务&aop (2)
开发dao层:接口:public interface FooDAO { abstract public void insert(Customer customer);}实现类:pub...
2008-05-16 23:42:30
88
转载 spring2.5事务&aop (1)
数据库使用MYSQL,创建数据库create table customer ( id int(11) not null auto-increment,...
2008-05-16 23:38:11
108
转载 J2EE持久层
J2EE底层可以使用的框架有很多,比如hibernate,IBatis等等, 本人只使用过Hibernate,而且经常使用它继承Spring以及EJB做业务的开发,不可否认的是Hibernate的确是J2EE持久层...
2008-05-10 19:26:06
124
转载 Hibernate 优化
最好将batch size 设置为一个适当的值一般为30-50,在大量插入的时候停止一级缓存, 否则有可能引起内存溢出,或者每组flush一次,之后清空即可。 在批量更新,检索时注意使用游标Scrollable...
2008-05-10 19:17:57
84
转载 EJB--Query Best Practices
Named QueriesFirst and foremost, we recommend named queries whenever possible. Persistence providerswill often tak...
2008-05-10 19:16:01
109
转载 object file byte转换
public static byte[] getBytesFromFile(File f){ if (f == null){ return null; } ...
2008-05-10 19:14:10
179
转载 spring 2.5 aop 1
Spring 2.5 aop类别函数入参说明方法切点函数execution方法匹配模式串满足某一匹配模式的所有目标类方法的连接点。如executio...
2008-05-08 22:54:39
73
转载 Spring 发布 RMI (客户端)
客户端:package remote.rmi.client;import remote.rmi.AccountService;public class SimpleObject { pri...
2008-04-28 22:45:55
84
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人