Giter Site home page Giter Site logo

sofa-ark-guides's Introduction

SOFAArk 工程用例

SOFAArk 提供了两个样例工程来演示 Ark PluginArk 包 的使用;样例工程目录组织如下:

.
│
├── sample-ark-plugin 
│ 
└── sample-springboot-ark 

sample-ark-plugin

该工程演示如何使用官方提供的 Maven 插件 sofa-ark-plugin-maven-plugin 来构建一个标准的 Ark Plugin,详细可参考 README

sample-springboot-ark

该工程演示如何使用官方提供的 Maven 插件 sofa-ark-maven-plugin 将一个普通的 Spring Boot 应用打包成一个 Ark 包;需要注意的是,因为该工程依赖另一个用例工程 sample-ark-plugin 打包出来的 Ark Plugin, 由于Ark Plugin必须以jar包的方式导入工程无法使用classPath方式启动,请务必提前安装该 Ark Plugin 至本地 maven 仓库;详细请参考 README

IDE 里启动是请带上如下参数:

-Dsofa.ark.embed.enable=true

sofa-ark-guides's People

Contributors

glmapper avatar lvjing2 avatar ujjboy avatar rootsongjc 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.