Thursday, 12 January 2012

Burlap and Hessian and HttpInvoker

Dear All,

Please make the following entry in the applicationContext.xml

<bean id="helloService" class="com.sapient.implementations.HelloServiceImpl"></bean>

Please make the following entries in the springmvc-servlet.xml

<bean name="/HessianHelloService.do" class="org.springframework.remoting.caucho.HessianServiceExporter">
<property name="service" ref="helloService"/>
<property name="serviceInterface" value="com.sapient.interfaces.HelloService"/>
</bean>

<bean name="/BurlapHelloService.do" class="org.springframework.remoting.caucho.BurlapServiceExporter">
<property name="service" ref="helloService"/>
<property name="serviceInterface" value="com.sapient.interfaces.HelloService"/>
</bean>
<bean name="/SpringInvokerHelloService.do" class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
<property name="service" ref="helloService"/>
<property name="serviceInterface" value="com.sapient.interfaces.HelloService"/>
</bean>


Regards,
Vivek Mehta

No comments:

Post a Comment