spring hessian 配置
来源:互联网 发布:icmo是tcp的哪个端口 编辑:程序博客网 时间:2024/05/22 13:52
web.xml
<servlet>
<servlet-name>remoting</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>remoting</servlet-name>
<url-pattern>/remoting/*</url-pattern>
</servlet-mapping>
remoting-servlet.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jdbc="http://www.springframework.org/schema/jdbc" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd"
default-autowire="byName"
>
<!--********************************************* base相关接口 *********************************************-->
<!-- 资源 -->
<bean name="/resourceRemoting" class="org.springframework.remoting.caucho.HessianServiceExporter">
<property name="service" ref="resourceRemoting" />
<property name="serviceInterface" value="com.yym.base.ResourceRemoting" />
</bean>
</beans>
客户端
hessian.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<!--********************************************* base相关接口 *********************************************-->
<!-- 资源 -->
<bean id="resourceRemoting" class="org.springframework.remoting.caucho.HessianProxyFactoryBean" >
<property name="serviceUrl" value="${core_hessian_remoting_servlet_domain}/remoting/resourceRemoting" />
<property name="serviceInterface" value="com.yym.base.ResourceRemoting" />
</bean>
</beans>
- hessian spring配置
- spring hessian 配置
- Hessian+Spring配置
- Spring Hessian
- spring hessian
- spring+hessian
- hessian 配置
- Hessian配置
- hessian配置
- Hessian(1)Spring整合Hessian
- hessian基于spring的自定义注解配置拓展(高效率开发hessian)
- spring 对hessian支持
- Spring hessian Error
- [Spring] Hessian权限认证
- Spring整合Hessian教程
- Spring 整合 Hessian
- spring hessian应用
- hessian + spring 使用
- centos上网设置
- Socket 网络通信并解析文件.
- selenium+python关于登录的脚本代码,使用了读取excel以及向excel中写入测试结果的方法
- 升序排序
- 关于mini2440开发板USB转串口乱码问题
- spring hessian 配置
- 舌尖上的中国
- POI创建Excel
- 美团网CEO王兴:创业十年屡败屡战 终成硕果
- 游标
- 高斯滤波理解
- Using the jQuery Validate Plugin with HTML5 Data Attribute Rules
- 微信公众平台开发入门教程
- 适配器模式