Giter Site home page Giter Site logo

jarslink-demo's Introduction

JarsLink Demo演示

模块

moduel-main 用于加载模块JAR包,对外提供服务

service-a 获取用户信息Action

service-b 获取订单信息Action

类说明

类名 说明
young.hu.jarslink.main.MainController 接收外部HTTP请求并将请求转发到具体模块
young.hu.jarslink.main.ModuleConfiguration Bean配置
young.hu.jarslink.main.ModuelRefreshSchedulerImpl 模块加载器配置
young.hu.jarslink.a.actions.UserAction 获取用户信息Action
young.hu.jarslink.b.actions.OrderAction 获取订单信息Action

使用说明

  1. 将service-a和service-b打成jar包
  2. ModuleRefreshSchedulerImpl类中的PATH参数值换成你本地路径
  3. 启动ModuleApplication中的main方法
  4. 浏览器请求http://ip:8999/jarslink/service-a/user/*your-name*获取模块用户信息
  5. 浏览器请求http://ip:8999/jarslink/service-b/order/*order-id*获取模块订单信息

jarslink-demo's People

Contributors

younghu avatar

Stargazers

程序员7VI avatar liujian avatar zerovoxxx avatar  avatar  avatar Today avatar  avatar  avatar Gibbons avatar Dorne avatar PercyOMG avatar  avatar  avatar 葛俊 avatar huhu avatar  avatar powerAn avatar  avatar Dean avatar thinking avatar Bearcat avatar 清英 avatar  avatar

Watchers

James Cloos avatar huhu avatar  avatar  avatar  avatar

jarslink-demo's Issues

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.