<bean id="remoteService" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean"> <property name="serviceUrl" value="http://localhost:8080/remoteService"/> <property name="serviceInterface" value="com.example.RemoteService"/> </bean> <bean name="/remoteService" class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter"> <property name="service" ref="remoteServiceImpl"/> <property name="serviceInterface" value="com.example.RemoteService"/> </bean>


上一篇:
下一篇:
切换中文