tree: b108a2c63cb3dc29b8875628e021e554b1d50b05 [path history] [tgz]
  1. .github/
  2. ci/
  3. clients/
  4. common/
  5. core/
  6. coverage-reports/
  7. demo/
  8. dependencies/
  9. deployment/
  10. distribution/
  11. dynamic-config/
  12. edge/
  13. etc/
  14. foundations/
  15. governance/
  16. handlers/
  17. huawei-cloud/
  18. inspector/
  19. metrics/
  20. parents/
  21. providers/
  22. samples/
  23. service-registry/
  24. solutions/
  25. spring-boot/
  26. swagger/
  27. tracing/
  28. transports/
  29. .gitignore
  30. doap_ServiceComb_Java-Chassis.rdf
  32. NOTICE
  33. pom.xml

Java Chassis 中文 Maven Central License

Apache 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


Release TrainLatest VersionCompiled JDK VersionTested JDK Version
2.x.x2.8.3OpenJDK 8OpenJDK 8, 11, 17
1.x.x1.3.10OpenJDK 8OpenJDK 8

Why use Java Chassis

  • High performance

    The transport capability of Java Chassis is based on Vert.x, which enables Java Chassis to process massive requests with relatively less hardware resources, and support reactive develop style.

  • Native support for OpenAPI

    Java Chassis describes the APIs of the microservices via Swagger natively, to help developers to design microservices that comply to OpenAPI standard.

  • Flexible develop style

    Currently Java Chassis allow developers to develop their microservice APIs in SpringMVC/JAX-RS/transparent RPC styles, and to send the request in RPC/RestTemplate styles. And there are three kind of build-in transport mode: Rest over Vertx/Rest over Servlet/Highway. All of these features can be combined and replaced easily, because they are decoupled and all based on the Swagger schema, which can provide high flexibility.

  • Out-of-box microservice governance features

    Java Chassis provides a lot of features for microservice governance and monitor.

Quick Start

Provider service:

import org.apache.servicecomb.*;
@RpcSchema(schemaId = "helloworld")
public class HelloWorldProvider implements HelloWorld {
    public String sayHello(String name) {
        return "Hello " + name;

Consumer service:

import org.apache.servicecomb.*;
public class HelloWorldConsumer  {
	@RpcReference(microserviceName = "pojo", schemaId = "helloworld")
	private static HelloWorld helloWorld;

	public static void main(String[] args) {


Project documentation is available on the ServiceComb Java Chassis Developer Guide.


You don’t need to build from source to use Java Chassis (binaries in apache nexus ), but if you want to try out the latest and greatest, Java Chassis can be easily built with the maven. You also need JDK 17.

  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


Bugs: issues

mailing list: subscribe dev


See CONTRIBUTING for details on submitting patches and the contribution workflow.


Licensed under an Apache 2.0 license.

Export Notice

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See for more information.

The Apache Software Foundation has classified this software as Export Commodity Control Number (ECCN) 5D002, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the “publicly available” Section 742.15(b) exemption (see the BIS Export Administration Regulations, Section 742.15(b)) for both object code and source code.

The following provides more details on the included cryptographic software:

  • Vertx transport can be configured for secure communications