zoukankan      html  css  js  c++  java
  • service-resources

    <?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:dubbo="http://code.alibabatech.com/schema/dubbo" xmlns:mvc="http://www.springframework.org/schema/mvc"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
    http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
    http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">

    <!-- 给当前项目(应用)服务起个名字 发布在dubbo上的名字 demo_UserService-->
    <dubbo:application name="dubboxdemo-service"/>
    <!-- 配置连接zookeeper的IP和端口 192.168.188.138:2181-->
    <dubbo:registry address="zookeeper://192.168.200.128:2181"/>
    <!-- 配置包扫描, 在这个包下面的实现类中使用@Service注解才会生效 配置要发布到Dubbo的服务包
    com.offcn.service
    怎么运行 运行插件的方式 右侧选择Maven---Plugins---tomact7---tomact7:run
    搭建dubbo 监控中心
    看笔记
    -->
    <dubbo:annotation package="cn.lijun.service" />
    </beans>

  • 相关阅读:
    jquery toggle(listenerOdd, listenerEven)
    struts quick start
    hdu 1518 Square (dfs)
    hdu 2544 最短路 (最短路径)
    hdu 1754 I Hate It (线段树)
    hdu 1856 More is better (并查集)
    hdu 1358 Period (KMP)
    hdu 2616 Kill the monster (DFS)
    hdu 2579 Dating with girls(2) (bfs)
    zoj 2110 Tempter of the Bone (dfs)
  • 原文地址:https://www.cnblogs.com/lijun6/p/12029782.html
Copyright © 2011-2022 走看看