2.activiti6.0-源码初探

  • 创建分支study6
git clone [email protected]:MyRepo/Activiti.git
# 拉取 activity-6.0.0这个Tag
git checkout -b study6 activity-6.0.0
mvn clean test-compile

核心模块

  • module/activiti-engine 核心引擎
  • module/activiti-spring Spring集成模块
  • module/activiti-spring-boot SpringBoot集成模块
  • module/activiti-rest 对外提供rest api模块
  • module/activiti-form-engine 表单引擎模块
  • module/activiti-ldap 集成ldap用户的模块

Activiti-engine

bpmn-converter
process-validation
image-generator
dmn-api
form-api
form-model


启动activiti-app

cd module/activiti-ui/activiti-app
mvn clean tomcat7:run
open http://localhost:9999/activiti-app

activiti-ui

  • activiti-app 集成发布的war工程
  • activiti-app-conf UI独立于业务外的配置
  • activiti-app-logic UI的业务逻辑
  • activiti-app-rest 提供接口的rest api

WebConfigurer(监听器)

  • 参考了Spring中的RootContextListener模型 (1个根容器、2个子容器)

RootContextListener (ApplicationConfiguration)

AppContextDispatcherServlet(AppDispatcherServletConfiguration)
ApiContextDispatcherServlet(ApiDispatcherServletConfiguration)

你可能感兴趣的:(2.activiti6.0-源码初探)