Professional Documents
Culture Documents
Springrmi
Springrmi
class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="serviceName" value="GreetingService" />
<property name="service" ref="GreetingService" />
<property name="serviceInterface" value="com.learn.rmi.GreetingService" />
<property name="registryPort" value="1099"></property>
</bean>
<bean id="greetingServiceClient"
class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
<property name="serviceUrl" value="rmi://localhost:1099/GreetingService"/>
<property name="serviceInterface" value="com.learn.rmi.GreetingService"/>
</bean>