Spring也支持对Hessian的集成,只需将上述的配置文件改成如下:
<bean id="remoteInterface" class="org.springframework.remoting.caucho.HessianProxyFactoryBean"> <property name="serviceUrl"> <value> http://localhost:8080/test_web/myservice </value> </property> <property name="serviceInterface"> <value>com.testEjbRemote</value> </property> </bean>
<bean id="remoteInterface" class="org.springframework.remoting.caucho.HessianProxyFactoryBean"> <property name="serviceUrl"> <value> http://localhost:8080/test_web/myservice </value> </property> <property name="serviceInterface"> <value>com.testEjbRemote</value> </property> </bean>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货