How to use RmiProxyFactoryBean for Importing RMI Service in Spring framework
RmiProxyFactoryBean is used in Spring Framework to invoke an existing RMI Service. It enables to wire the RMI services into spring application as if they were local beans.
It is declared in configuration file like:
Code:
<bean id="service1"
class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
<property name="serviceUrl">
<value>rmi://${hostname}/service1</value>
</property>
<property name="serviceInterface">
<value>service1</value>
</property>
</bean>