Hi,
I'm trying to replace my EJB calls (done through spring) with RMI.
My service is being exported on multiple servers in a cluster.
in the example taken from SpringInAction book the client references to a single host:
Is there a way to specify a list of hosts?Code:<bean id="paymentService" class="org.springframework.remoting.rmi.RmiProxyFactoryBean"> <property name="serviceUrl"> <value>rmi://${paymenthost}/PayService</value> </property> <property name="serviceInterface"> <value>com.springinaction.payment.PaymentService</value> </property> </bean>
Or should I implement my own solution for round-robin calls?
Thanks,
NY


Reply With Quote
