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>