2018-05-29 22:25
@libofei http://maven.aliyun.com/nexus/#nexus-search;quick~tio-websocket-server
2018-05-29 21:01
@libofei 看官网嘛! 没什么可比的, 自己看看代码, 看喜欢哪个风格, 这些框架对于业务来说都能实现, 就看用的爽不爽了 ......
https://t-io.org/blog/index.html?p=%2Fblog%2Ftio%2Fws%2Fshowcase.html
2018-05-29 18:31
@耿少卿 你看源码中取值的代码就知道了
public static String getWebRootPath() {
if (webRootPath == null) {
webRootPath = detectWebRootPath();
}
return webRootPath;
}
// 注意:命令行返回的是命令行所在路径的上层的上层路径
private static String detectWebRootPath() {
try {
String path = PathKit.class.getResource("/").toURI().getPath();
return new File(path).getParentFile().getParentFile().getCanonicalPath();
} catch (Exception e) {
throw new RuntimeException(e);
}
}
2018-05-26 09:54
@libofei 现在开源社的 百万级TCP长连接框架 t-io 啊! 作者谭总人缘又好, 和jfinal联合使用还非常棒! https://www.oschina.net/news/96405/t-io-3-0-0-released
2018-05-25 21:23
@hemiyang 是这个梗... 那你先了解一下 JFinal 3.4 demo for maven里面的 _JFinalDemoGenerator的base model生成器
2018-05-25 10:20
2.3 configRoute(..)
JFinal路由是可以进行拆分配置的, 可以建立 微信端路由,网页端路由,管理后端路由,
2018-05-25 09:20
赶快用Enjoy吧.... 6 Enjoy 模板引擎 6.1 概述
赋值:
3.6 setAttr方法
取值:
https://www.baidu.com/s?ie=UTF-8&wd=Freemark%20%E9%81%8D%E5%8E%86%20LIst