Flowable 6.6.0 用户指南相关文档下载
- BPMN用户指南 第一部分 - 中文PDF精编版
- BPMN用户指南 第二部分 - 中文PDF精编版
- BPMN用户指南 第三部分 - 中文PDF精编版
- 应用程序指南 - 中文PDF精编版
- 应用程序指南 - 中英对照PDF精编版
- 应用程序指南 - Eclipse设计器中文PDF精编版
- 表单用户指南 - 中文PDF精编版
- 事件注册表用户指南 - 中文PDF精编版
1 表单配置(Configuration)
1.1创建一个表单引擎(Creating a Form Engine)
1.2 FormEngineConfiguration bean
1.3 插入流程引擎(Plug into Process Engine)
1.4 数据库配置(Database configuration)
1.5 JNDI数据源配置(JNDI Datasource Configuration)
1.6 数据库相关
1.7 部署缓存配置(Deployment cache configuration)
1.8 日志(Logging)
2.表单API
2.1 表单引擎API及服务
2.2 异常策略(Exception strategy)
2.3 查询API(Query API)
2.4 单元测试(Unit testing)
2.5 Web应用程序中的表单引擎(The Form engine in a web application)
3.Spring 集成
3.1 FormEngineFactoryBean
3.2 自动资源部署(Automatic resource deployment)
3.3 单元测试(Unit testing)
4 部署(Deployment)
5 表单简介(Form Introduction)
6 REST API
Flowable 6.6.0表单用户指南(Forms User Guide)
1 配置(Configuration)
1.5 JNDI数据源配置(JNDI Datasource Configuration)
By default, the database configuration for Flowable Form is contained within the db.properties files in the WEB-INF/classes of each web application. This isn’t always ideal because it requires users to either modify the db.properties in the Flowable source and recompile the WAR file, or explode the WAR and modify the db.properties on every deployment.
默认情况下,Flowable Form的数据库配置包含在每个WEB应用程序的WEB-INF/ classes的db.properties文件中。这并不总是理想的,因为它需要用户在Flowable源代码中修改db.properties,重新编译WAR文件,或者每次部署时解压缩WAR并修改db.properties。
By using JNDI (Java Naming and Directory Interface) to obtain the database connection, the connection is fully managed by the Servlet Container and the configuration can be managed outside the WAR deployment. This also allows more control over the connection parameters than that provided by the db.properties file.
通过使用JNDI(Java Naming and Directory Interface)获取数据库连接,连接完全由Servlet容器管理,并且可以在WAR部署之外管理配置。这还允许对连接参数提供比db.properties文件更好的控制。
1.5.1配置(Configuration)
Configuration of the JNDI datasource will differ depending on what servlet container application you are using. The instructions below will work for Tomcat, but for other container applications, please refer to the documentation for your container app.
JNDI数据源的配置将因您使用的servlet容器应用程序而异。下面的说明适用于Tomcat,但是对于其他容器应用程序,请参阅容器应用程序的文档。
If using Tomcat, the JNDI resource is configured within $CATALINA_BASE/conf/[enginename]/[hostname]/[warname].xml (for the Flowable UI this will usually be C A T A L I N A B A S E / c o n f / C a t a l i n a / l o c a l h o s t / f l o w a b l e − a p p . x m l ) . T h e d e f a u l t c o n t e x t i s c o p i e d f r