Giter Site home page Giter Site logo

kaitezhan / ssm-dubbo-http Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crossoverjie/ssm-dubbo-http

0.0 1.0 0.0 23 KB

:boom: dubbo provide HTTP service

Home Page: https://crossoverjie.top/2017/05/07/SSM13/

License: GNU General Public License v2.0

Java 100.00%

ssm-dubbo-http's Introduction

QQ群

开发

https://crossoverjie.top/2017/05/02/SSM13/

预览

dubbo-http封面.jpg

简介

将 dubbo 服务对外暴露出http服务。

可供其他任何语言进行调用。

安装

git clone https://github.com/crossoverJie/SSM-DUBBO-HTTP.git

cd SSM-DUBBO-HTTP

mvn clean

mvn install

使用

<dependency>
    <groupId>com.crossoverJie</groupId>
    <artifactId>SSM-HTTP-PROVIDER</artifactId>
    <version>1.0.0</version>
</dependency>

Spring 配置

    <!--dubbo服务暴露为http服务-->
    <bean class="com.crossoverJie.dubbo.http.conf.HttpProviderConf">
        <property name="usePackage">
            <list>
            	   <!--需要暴露服务的接口包名,可多个-->
                <value>com.crossoverJie.api</value>
            </list>
        </property>
    </bean>
    <!--扫描暴露包-->
    <context:component-scan base-package="com.crossoverJie.dubbo.http"/>

联系作者

crossoverJie#gmail.com

ssm-dubbo-http's People

Contributors

crossoverjie avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.