在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:apache/servicecomb-java-chassis开源软件地址:https://github.com/apache/servicecomb-java-chassis开源编程语言:Java 99.7%开源软件介绍:中文Java ChassisApache 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 Why use Java Chassis
Quick StartProvider 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.*;
@Component
public class HelloWorldConsumer {
@RpcReference(microserviceName = "pojo", schemaId = "helloworld")
private static HelloWorld helloWorld;
public static void main(String[] args) {
helloWorld.sayHello("Tank");
}
} DocumentationProject documentation is available on the ServiceComb Java Chassis Developer Guide. BuildingYou 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 1.8.
The first build may take a longer than expected as Maven downloads all the dependencies. Automated TestingTo build the docker image and run the integration tests with docker, you can use maven docker profile
If you are using docker machine, please use the following command
Get The Latest ReleaseContactBugs: issues ContributingSee CONTRIBUTING for details on submitting patches and the contribution workflow. LicenseLicensed under an Apache 2.0 license. Export NoticeThis 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 http://www.wassenaar.org/ 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:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论