摘要: 分布式开发分布式事务 JTA原理是 RMI两次循环通讯, Stub Skeleton 是使用的Sokect通讯我们写三个文件1 Home接口 UserServiceHome.java2 Remote接口 UserService.java3 Bean实现 UserServiceBean.java 服务器还会生成 另外7个class4. _UserServiceHome_Stub.java这个当然就是Home接口在Client端(动态加载)的Stub类了,它implements UserServiceHome。5. _EJSRemoteStatelessUserServiceHome_a940aa 阅读全文
posted @ 2013-02-24 16:38 寂静沙滩 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 修改文件application-context.xml注意版本以下分别为 2.5 和3.0的<?xml version="1.0" encoding="UTF-8" ?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p& 阅读全文
posted @ 2013-02-24 11:24 寂静沙滩 阅读(5415) 评论(0) 推荐(1) 编辑