dubbo provider

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

<dubbo:application name="spring-server"/>
<dubbo:registry address="zookeeper://127.0.0.1:2181"/>
<dubbo:protocol name="dubbo" port="20880" serialization="hessian2" transporter="netty"/>
<dubbo:service id="helloService" interface="com.test.spring.test.provider.Hello" ref="helloImpl"/>
<bean id="helloImpl" class="com.test.spring.test.provider.HelloImpl"/>
</beans>
原文地址:https://www.cnblogs.com/sidesky/p/12667678.html