<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<!-- Hessian 启动BeanNameMapping 映射功能 -->
<bean class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"/>
<!-- 各个项目互调入口 -->
<bean id="invokeServer" class="com.java.hessian.invoke.InvokeServer" />
<bean name="/invokeServer"
class="org.springframework.remoting.caucho.HessianServiceExporter">
<property name="service" ref="invokeServer" />
<property name="serviceInterface" value="com.java.MapRemoteInvoke" />
</bean>
</beans>
hessian(4)- hessian-servlet.xml 配置
猜你喜欢
转载自blog.csdn.net/xinyu100100/article/details/80629419
今日推荐
周排行