# ServiceComb-Java-Chassis **Repository Path**: crbt/ServiceComb-Java-Chassis ## Basic Information - **Project Name**: ServiceComb-Java-Chassis - **Description**: ServiceComb 是华为开源的一套包含代码框架生成,服务注册发现,负载均衡,服务可靠性(容错熔断,限流降级,调用链追踪)等功能的微服务框架。 ServiceComb 包括应用框架代码生成,服务注册发现、服务配置管理、服务监控、服务调用追踪、多通信协议支持等功能,具有服务化契约增强、响应式编程范式及多语言 SDK 支持等优势特性。ServiceComb 基于开放的架构,不仅可以支持开发者根据自身业务需求定制业务插件,而且还兼容多种业界流行的微服务框架。 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: http://servicecomb.io/cn/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 52 - **Created**: 2017-12-05 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Java Chassis [![Build Status](https://travis-ci.org/ServiceComb/ServiceComb-Java-Chassis.svg?branch=master)](https://travis-ci.org/ServiceComb/ServiceComb-Java-Chassis?branch=master)[![Coverage Status](https://coveralls.io/repos/github/ServiceComb/ServiceComb-Java-Chassis/badge.svg?branch=master)](https://coveralls.io/github/ServiceComb/ServiceComb-Java-Chassis?branch=master) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.servicecomb/java-chassis-core/badge.svg)](http://search.maven.org/#search%7Cga%7C1%7Cio.servicecomb) [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) ServiceComb Java Chassis is a Software Development Kit (SDK) for rapid development of microservices in Java, providing service registration, service discovery, dynamic routing, and service management features ## Quick Start Provider service: ```java import io.servicecomb.*; @RpcSchema(schemaId = "helloworld") public class HelloWorldProvider implements HelloWorld { public String sayHello(String name) { return "Hello " + name; } } ``` Consumer service: ```java import io.servicecomb.*; @Component public class HelloWorldConsumer { @RpcReference(microserviceName = "pojo", schemaId = "helloworld") private static HelloWorld helloWorld; public static void main(String[] args) { helloWorld.sayHello("Tank"); } } ``` ## Documentation Project documentation is available on the [ServiceComb website][servicecomb-website]. [servicecomb-website]: http://servicecomb.io/ ## Building You don’t need to build from source to use Java Chassis (binaries in repo.servicecomb.io), but if you want to try out the latest and greatest, Java Chassis can be easily built with the maven. You also need JDK 1.8. mvn clean install The first build may take a longer than expected as Maven downloads all the dependencies. ## Automated Testing To build the docker image and run the integration tests with docker, you can use maven docker profile mvn clean install -Pdocker -Pit If you are using docker machine, please use the following command mvn clean install -Pdocker -Pit -Pdocker-machine ## Contact Bugs: [issues](https://github.com/ServiceComb/java-chassis/issues) mailing lists: [users](https://groups.google.com/forum/#!forum/servicecomb-users) , [developers](https://groups.google.com/forum/#!forum/servicecomb-developers) ## Contributing See CONTRIBUTING for details on submitting patches and the contribution workflow. ## Reporting Issues See reporting bugs for details about reporting any issues.