Java 微服务框架 Microserver

码农软件 · 软件分类 · 微服务框架 · 2019-03-18 13:12:38

软件介绍

Microserver 是一个零配置、基于标准的身经百战的库,用来运行 Java REST 微服务,通过 Java 标准 main 类执行。从 2014 年开始就一直在 AOL 生产环境中使用。

框架结构:

high level architecture

main 类:

public class AppRunnerTest {
    public static void main(String[] args) throws InterruptedException {
        new MicroserverApp(() -> "test-app").run();
    }
}

服务类:

@Rest 
@Path("/status")
public class StatusResource {
  @GET 
  @Produces("text/plain")
  @Path("/ping")
  public String ping() {
     return "ok";
  }
}

本文地址:https://www.codercto.com/soft/d/1616.html

HTML & XHTML

HTML & XHTML

Chuck Musciano、Bill Kennedy / O'Reilly Media / 2006-10-27 / GBP 39.99

"...lucid, in-depth descriptions of the behavior of every HTML tag on every major browser and platform, plus enough dry humor to make the book a pleasure to read." --Edward Mendelson, PC Magazine "Whe......一起来看看 《HTML & XHTML》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

html转js在线工具
html转js在线工具

html转js在线工具