Skip to content

sunny-tong/fast-framework

This branch is 19 commits behind JeffLi1993/fast-framework:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

JeffLi1993liqiangqiang
and
liqiangqiang
Aug 10, 2016
04d0582 · Aug 10, 2016

History

19 Commits
Aug 10, 2016
Aug 10, 2016
Aug 9, 2016
Apr 1, 2016
Apr 1, 2016
Aug 10, 2016
Aug 10, 2016
Jul 19, 2016

Repository files navigation

maven-central License
English Document

fast-framework

轻量级 Java Web 框架

  • 基于 JDK 8 规范
  • 基于 Servlet 3.0 规范
  • 零配置
  • REST 服务接口 基于 JSON 传输
  • 目前提供 MVC ... 解决方案

作者与学习乐园

源码地址:我的GitHub地址
作者: 李强强 也叫 泥瓦匠
QQ群:编程之美 365234583 立即加入

快速入门

1. 必备环境

2. 下载 fast-framework 项目及 sample 案例

git clone https://github.com/JeffLi1993/fast-framework.git

3. Maven 编译 sample 案例

cd fast-framework // cd 到工程根目录

mvn clean install // 编译工程

4. 启动 sample 案例

cd fast-sample // cd 到 sample 案例工程根目录
mvn jetty:run  // 启动 sample 工程

Console 出现如下结果,表示服务器成功启动:

...
[INFO] Started ServerConnector@f1a45f8{HTTP/1.1}{0.0.0.0:8080}
[INFO] Started @5133ms
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 10 seconds.

5. 访问 sample

在浏览器中打开:

http://localhost:8080/hello?name=BYSocket

会得到如下结果:
sample结果图

About

轻量级 Java Web 框架

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.5%
  • HTML 1.5%