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:

Java 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>