Announcement Announcement Module
Collapse
No announcement yet.
defining severals RMI Services Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • defining severals RMI Services

    Mrs,

    I'm testing Spring Remoting (RMI) and it's working fine
    Code:
    <bean class="org.springframework.remoting.rmi.RmiServiceExporter">
    		<property name="service" ref="genericService"/>
    		<property name="serviceName" value="GenericService"/>
    		<property name="serviceInterface"			      value="mypackage.services.IGenericService"/>
    	</bean>
    
    	<bean id="genericServiceProxy" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
    		<property name="serviceUrl"
    				  value="rmi://localhost/GenericService" />
    		<property name="serviceInterface"
    				  value="mypackage.model.services.IGenericService" />
    	</bean>
    My question is: How can i publish more services ?


    tks
Working...
X