# express.java **Repository Path**: flashsword20/express.java ## Basic Information - **Project Name**: express.java - **Description**: A tiny RESTful web framework with embed server. Used as instead of JMX for cross-language communicat - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 3 - **Created**: 2013-11-17 - **Last Updated**: 2024-11-25 ## Categories & Tags **Categories**: restful **Tags**: None ## README express.java ===== >A tiny RESTful web framework with embed server. Used as instead of JMX for cross-language communication. ## Features: * ### Convention over Configuration No xml and no annotation. Just write an application by API in Java. ```java WebServer.jettyServer().get("/", new AjaxController() { @Override public Object ajax(ParamMap params) { return ResultMap.create().put("code", 200).put("msg", "ok"); } }).get("/echo", new AjaxController() { @Override public Object ajax(ParamMap params) { return params; } }).get("/echo/${id}", new AjaxController() { @Override public Object ajax(ParamMap params) { return ResultMap.create().put("id", params.getInt("id")); } }).port(8080).start(); ``` ## License: [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)