Spring使用POJO发布RMI
来源:互联网 发布:北京国税开票软件 编辑:程序博客网 时间:2024/06/09 15:42
Spring可以把我们的POJO作为RMI服务进行发布
我们的业务类接口
public interface PayMentService
我们的业务类实现
public class PayMentServiceImpl
我们为了把PayMentService中的方法作为RMI输出,可以这样进行配置
<bean class="org.springfarmework.remoting.rmi.RmiServiceExporter">
<property name="service">
<ref bean="paymentService">
</property>
<property name="serviceName">
<value>PayMentService</value>
</property>
<property name="serviceInterface">
<value>com.springinaction.service.PayMentService</value>
</property>
</bean>
<bean id="paymentService" class="com.springinaction.service.PayMentServiceImpl">
</bean>
<property name="service">
<ref bean="paymentService">
</property>
<property name="serviceName">
<value>PayMentService</value>
</property>
<property name="serviceInterface">
<value>com.springinaction.service.PayMentService</value>
</property>
</bean>
<bean id="paymentService" class="com.springinaction.service.PayMentServiceImpl">
</bean>
- Spring使用POJO发布RMI
- 使用spring发布和访问RMI服务
- spring rmi 的使用
- Spring RMI使用心得
- spring rmi 简单使用
- 使用spring配置RMI
- spring rmi使用心得
- Spring RMI使用学习
- 使用Spring的RmiServiceExporter发布RMI服务设置registryHost报Connection refused to host问题解决
- RED5 中使用Spring RMI
- spring与rmi结合使用
- Spring 注解发布RMI/HTTPInvoker/Hessian/Burlap服务
- Spring发布JAVA最初的远程调用技术---RMI
- Spring-remoting使用心得1-RMI
- 使用Spring RMI调用远程方法
- Spring整合使用RMI-HelloWorld例子
- spring整合rmi 如何使用安全策略
- POJO-POJO使用
- 阿翔编程学-Web Service详细解析及使用方法(全) 包括XFire、Axis
- DB2基本问题总结
- WriteBoard_FR
- ASP.NET 2.0 正式版中无刷新页面的开发
- 第24章 标准模板库介绍
- Spring使用POJO发布RMI
- 在VB.NET里操作文本文件
- VB.NET窗口渐淡关闭
- LINUX中清空输入缓冲区最简便的方法!
- 使用UDP发送和接收消息
- 如何把ASP编写成DLL
- VB.NET轻松实现任务栏程序
- Difference between RVCT and GCCE
- 索引视图的建立