bboot是bboss的快速开发/部署/运行环境工具包,基于gradle管理项目工程,内置tomcat/jetty两种容器,根据需要进行选取,集成bboss主要模块有:
bboss ioc
mvc
持久层
taglib标签库
kafka
bboss data(redis/mongodb/elasticsearch)
rpc/http/cxfwebservice
quartz任务调度等模块
security ticket
session共享
在项目中导入bboot gradle依赖:
tomcat
dependencies { testCompile 'junit:junit:4.12' compile ( [group: 'com.bbossgroups.boot', name: 'bboot-starter-tomcat', version: '5.0.3.8.3', transitive: true] ) runtime( [group: 'com.bbossgroups', name: 'bboss-rt', version: '5.0.3.8.3', transitive: false] ) }
jetty
dependencies { testCompile 'junit:junit:4.12' compile ( [group: 'com.bbossgroups.boot', name: 'bboot-starter-jetty', version: '5.0.3.8.3', transitive: true] ) runtime( [group: 'com.bbossgroups', name: 'bboss-rt', version: '5.0.3.8.3', transitive: false] ) }
评论