- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/wso2/msf4j
- 软件文档: https://github.com/wso2/msf4j
软件介绍
//Application.java public class Application { public static void main(String[] args) { new MicroservicesRunner() .deploy(new HelloService()) .start(); } } //HelloService.java package org.example.service; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; @Path("/hello") public class HelloService { @GET @Path("/{name}") public String hello(@PathParam("name") String name) { return "Hello " + name; } }
内存占用比较: