后台框架分析及部署实例(一)

  1. HttpInvokerService方法的发布
    <bean id="purviewServices" class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
    		<property name="service">
    			<bean class="com.ivyinfo.purview.services.PurviewServicesImpl" />
    		</property>
    		<property name="serviceInterface" value="com.ivyinfo.purview.services.PurviewServices" />
    </bean>
    两个属性:一个service的实现类,一个serviceinterface的接口类。发布了purviewServices方法。 

  2. 这篇文章解释了InvohttpkerService
    http://victor-jan.iteye.com/blog/823550

  3. http://study-frame-spring-ui.googlecode.com/svn/trunk/ 目录下需要check out 的四个项目


  4. 项目间依赖关系
    TouchRemoting是 定义 InvohttpkerService的地方
    WebTouch_v2  是调用 InvohttpkerService的web项目。

    另外两个项目是供TouchRemoting使用的类似于jar包



  5. 先部署TouchRemoting项目
    部署项目

  6. 启动正常结果
    启动正常
    右上角生发布了 3个 service方法。


猜你喜欢

转载自qkjava.iteye.com/blog/1062811