`

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

阅读更多
  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方法。


 

  • 大小: 2.5 KB
  • 大小: 12.6 KB
  • 大小: 2.6 KB
  • 大小: 4.3 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics