2017-10-20 15:11:49 +08:00
|
|
|
# nutzboot
|
2017-11-22 00:18:12 +08:00
|
|
|
|
2017-11-21 23:39:51 +08:00
|
|
|
简称NB,基于Nutz的微服务方案
|
|
|
|
|
2017-11-22 11:23:59 +08:00
|
|
|
* 主页: [NB的官网](https://nutz.io)
|
|
|
|
* 项目生成器: [NB Makder](https://get.nutz.io)
|
|
|
|
* 版本历史: [NB进化史](ChangeLog.md)
|
|
|
|
* 文档: [NB的文档](http://nutzam.com/core/boot/overview.html)
|
2017-11-13 11:22:41 +08:00
|
|
|
|
2017-11-13 20:50:56 +08:00
|
|
|
## 来个NB的demo
|
|
|
|
|
|
|
|
```java
|
|
|
|
package io.nutz.demo.simple;
|
|
|
|
|
|
|
|
import org.nutz.boot.NbApp;
|
|
|
|
import org.nutz.ioc.loader.annotation.*;
|
|
|
|
import org.nutz.mvc.annotation.*;
|
|
|
|
|
|
|
|
@IocBean
|
|
|
|
public class MainLauncher {
|
2017-12-06 17:29:21 +08:00
|
|
|
|
2017-11-13 20:50:56 +08:00
|
|
|
@Ok("raw")
|
|
|
|
@At("/time/now")
|
|
|
|
public long now() {
|
|
|
|
return System.currentTimeMillis();
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
|
|
new NbApp(MainLauncher.class).run();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2017-11-13 11:22:41 +08:00
|
|
|
### 开发计划
|
|
|
|
|
2017-11-22 00:18:12 +08:00
|
|
|
期待您的加入
|
|
|
|
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 基础框架
|
2017-11-29 21:52:39 +08:00
|
|
|
- [x] 基础框架的文档
|
2017-11-14 14:29:26 +08:00
|
|
|
- [x] 基本框架的实现
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 服务器类启动器
|
|
|
|
- [ ] web类启动器
|
2017-11-21 23:39:51 +08:00
|
|
|
- [x] [Jetty](https://www.eclipse.org/jetty/)
|
2017-11-30 16:39:50 +08:00
|
|
|
- [x] [Undertow](http://undertow.io/) by @qinerg
|
2017-11-21 23:39:51 +08:00
|
|
|
- [ ] [Tomcat](http://tomcat.apache.org/)
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 非Web类启动器
|
2017-11-21 23:39:51 +08:00
|
|
|
- [ ] [netty](https://netty.io/)
|
|
|
|
- [ ] [mina](https://mina.apache.org/)
|
|
|
|
- [ ] [t-io](http://www.oschina.net/p/t-io)
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] mqtt
|
|
|
|
- [ ] pure tcp/udp
|
|
|
|
- [ ] Rpc类启动器
|
2017-12-06 19:30:51 +08:00
|
|
|
- [x] [Dubbo](http://dubbo.io/) 阿里出品的高性能RPC平台
|
|
|
|
- [x] [zbus](http://zbus.io) 国产知名RPC平台
|
2017-11-21 23:39:51 +08:00
|
|
|
- [ ] [motan](https://github.com/weibocom/motan)
|
2017-11-24 11:33:33 +08:00
|
|
|
- [ ] 其他
|
2017-12-06 19:30:51 +08:00
|
|
|
- [x] Ngrok 内网穿透,轻松获取外网地址
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 数据库类相关
|
|
|
|
- [ ] 关系型数据库
|
2017-12-06 19:30:51 +08:00
|
|
|
- [x] Jdbc连接池,默认使用druid,带监控功能
|
|
|
|
- [x] [sharding-jdbc](https://github.com/shardingjdbc/sharding-jdbc) 分库分表
|
2017-11-14 14:29:26 +08:00
|
|
|
- [x] Nutz.Dao
|
2017-12-06 19:30:51 +08:00
|
|
|
- [x] [BeetlSql](http://ibeetl.com/guide/#beetlsql) 基于Beetl的SQL框架
|
2017-11-22 00:18:12 +08:00
|
|
|
- [ ] Hibernate
|
|
|
|
- [ ] mybatis
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 非关系型数据库
|
2017-11-21 23:39:51 +08:00
|
|
|
- [x] [Redis](https://redis.io)
|
2017-12-04 14:31:18 +08:00
|
|
|
- [x] MongoDB
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] neo4j
|
|
|
|
- [ ] memcached
|
|
|
|
- [ ] ssdb
|
|
|
|
- [ ] Cassandra
|
|
|
|
- [ ] HBase
|
|
|
|
- [ ] rethinkdb
|
|
|
|
- [ ] Mvc
|
|
|
|
- [x] Nutz.Mvc
|
|
|
|
- [ ] 安全鉴权
|
2017-11-21 23:39:51 +08:00
|
|
|
- [x] [Shiro](http://shiro.apache.org)
|
2017-12-06 19:30:51 +08:00
|
|
|
- [ ] 分布式Session
|
|
|
|
- [x] [Shiro+LCache](https://github.com/nutzam/nutzmore/tree/master/nutz-plugins-cache)基于shiro/jedis/插件的分布式可持久化的session缓存
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 计划任务
|
2017-11-21 23:39:51 +08:00
|
|
|
- [x] [Quartz](http://www.quartz-scheduler.org)
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 模板引擎
|
2017-12-06 19:30:51 +08:00
|
|
|
- [x] [Beetl](http://ibeetl.com/)
|
2017-11-23 17:26:36 +08:00
|
|
|
- [x] [jetbrick-template](https://github.com/subchen/jetbrick-template-2x)
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] Vecloity
|
|
|
|
- [ ] FreeMarker
|
2017-12-06 19:30:51 +08:00
|
|
|
- [x] Thymeleaf by [温泉](https://github.com/ywjno)
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 消息队列
|
2017-12-06 19:30:51 +08:00
|
|
|
- [x] disque redis作者的另一作品
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] zeromq
|
|
|
|
- [ ] rabbitmq
|
|
|
|
- [ ] rocketmq
|
|
|
|
- [ ] activemq
|
2017-12-06 19:30:51 +08:00
|
|
|
- [ ] zbus
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 工作流
|
2017-12-11 15:41:13 +08:00
|
|
|
- [x] [uflo2](https://github.com/youseries/uflo) 中式工作流引擎
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] Activity
|
|
|
|
- [ ] 规则引擎
|
2017-12-11 15:41:13 +08:00
|
|
|
- [x] [urule](https://github.com/youseries/urule) 中式规则引擎
|
|
|
|
- [ ] drools
|
|
|
|
- [ ] 报表系统
|
|
|
|
- [x] ureport 中式报表
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] drools
|
2017-11-14 14:29:26 +08:00
|
|
|
- [ ] 开放平台
|
2017-12-06 19:30:51 +08:00
|
|
|
- [ ] 微信公众号开放平台
|
|
|
|
- [x] [NutzWX](https://github.com/nutzam/nutzwx) Weixin Api By Nutz
|
2017-11-13 11:22:41 +08:00
|
|
|
- [ ] 云平台
|
2017-11-22 00:18:12 +08:00
|
|
|
- [ ] [阿里云](https://aliyun.com)
|
|
|
|
- [ ] [腾讯云](https://qcloud.com)
|
2017-11-20 11:15:30 +08:00
|
|
|
- [ ] 缓存相关
|
2017-12-06 19:30:51 +08:00
|
|
|
- [x] wkcache 方法缓存 by 大鲨鱼
|
2017-11-20 11:15:30 +08:00
|
|
|
- [ ] docker相关
|
2017-11-20 19:45:48 +08:00
|
|
|
- [ ] docker compose配置
|
2017-11-29 21:52:39 +08:00
|
|
|
- [ ] WebService
|
|
|
|
- [ ] CXF
|
2017-11-22 00:18:12 +08:00
|
|
|
## 第三方starter或项目
|
|
|
|
|
|
|
|
期待您的到来,报个issue告知一下吧 ^_^
|
|
|
|
|
2017-12-05 10:20:21 +08:00
|
|
|
## Contributors
|
|
|
|
|
|
|
|
* 蛋蛋(提交了第一个Banner及打印逻辑)
|
|
|
|
* 胖五(nutz.io主笔)
|
2017-12-06 19:30:51 +08:00
|
|
|
* [qinerg](https://github.com/qinerg)(率先提交undertow)
|
|
|
|
* [温泉](https://github.com/ywjno)(提交thymeleaf)
|
2017-12-05 10:20:21 +08:00
|
|
|
* 科技(Rekoe,探路者,正在踩坑)
|
|
|
|
* 潇潇(howe,探路者,正在踩坑)
|
|
|
|
* 道坤(探路者,正在踩坑)
|
|
|
|
* HeTaro(探路者,正在踩坑)
|
|
|
|
* zozoh(路过...)
|
|
|
|
* wendal(到处挖坑)
|
|
|
|
|
2017-11-29 21:52:39 +08:00
|
|
|
## 文档
|
|
|
|
|
|
|
|
* [NutzBoot简介](doc/overview.md)
|
|
|
|
* [NutzBoot目录约定](doc/struct.md)
|
|
|
|
* [NB与Nutz.Mvc对比](doc/diff_nb_mvc.md)
|
|
|
|
|
2017-11-22 00:18:12 +08:00
|
|
|
## 授权协议
|
|
|
|
|
2017-12-06 17:29:21 +08:00
|
|
|
与Nutz一样, NutzBoot遵循[Apache协议](LICENSE),完全开源,文档齐全,永远免费(商用也是)
|