Spring
Spring
The stub.
Wait a sec.
Well, no!
Server side:
Client side:
<bean id="echoService3"
class="orgremoting.httpinvoker.HttpInvokerProxyFactoryBean">
<property name="serviceUrl"
value="http://remotehost:8080/remoting/samplehttpinvoker.do" />
<property name="serviceInterface" value="...Echo" />
</bean>
35
copyright 2009 Trainologic LTD
Spring Remoting
Example:
Accessing a Web Service
41
<bean id="echoService4"
class="orgremoting.jaxws.JaxWsPortProxyFactoryBean ">
<property name=wsdlDocumentUrl"
value="http://remotehost:8080/remoting/samplews?wsdl" />
<property name="serviceInterface" value="...Echo" />
<property name=namespaceURI"
value=http://www.trainologic.com/examples/ws" />
<property name="serviceName" value=EchoService" />
<property name=portName" value=EchoPort" />
</bean>
copyright 2009 Trainologic LTD
Spring Remoting
Introduction
Remoting by RMI
Remoting by Hessian or Burlap
Remoting by HTTP Invokers
Web Services
Remoting by JMS Remoting by JMS
43
copyright 2009 Trainologic LTD
Spring Remoting