# ServiceComb-Java-Chassis **Repository Path**: galen.zhang/ServiceComb-Java-Chassis ## Basic Information - **Project Name**: ServiceComb-Java-Chassis - **Description**: 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 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 52 - **Created**: 2017-12-05 - **Last Updated**: 2022-05-26 ## 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.