参加了oracle bpm动手试验培训,感觉bpm基本上是沿用以前BEA的bpm,只不过设计工具换成了Eclipse。
课程做到第九步走不下去了,直接导入Lesson9的exp文件,发现是少了一个屏幕流,其他就比较顺利了。
具备的功能:
1、可以导入/导出BPM项目(.exp文件),通过eclipse的import、export
2、可以通过You are here,查看当前流程运行到哪个节点
3、通过按照真实场景设置处理人,空闲时间,处理能力等参数,模拟仿真,可根据仿真结果(柱状图等)分析出流程在哪个节点是瓶颈
然后,可以通过修改、分离流程节点来调优流程。
4、可设置实例变量、项目变量。将一些规则常量设置成变量,可以通过Edit Business rule角色在运行期进行动态修改。
5、支持分支流程、子流程。通过输入变量、输出变量同父流程进行协作。
6、子流程的调用可以采用同步、异步两种方式。异步方式时,主流程还可以短暂等候,在子流程部分完成时主动通知父流程继续处理。
7、表单交互采用屏幕流方式。bpm根据设置参数自动生成表单页面,可以对表单进行调整、修改。
8、web控制台有收件箱、审阅、填写审核意见、添加附件、监控运行状态、动态修改运行变量等功能。
如Edit Business Rule,Workload Distribution。
9、可以设置角色、用户、组等权限。
还存在的疑问:
1、如何集成企业已有的组织架构到工作流的角色、组?
2、如何开发自定义jsp,以及如何将自定义作为流程表单?
3、自定义jsp如何分配细粒度权限,比如表单的某些域只能被某个角色看到或者修改?
4、如何调用webservice,jms等外部接口?
5、如何实现定时触发某个流程,启动该流程实例(授课老师讲到可以轮询谋张表是否有新的记录出现,有则触发新的流程实例)?
6、听说既可以支持xpdl也可以支持bpel,不知道如何实现支持bpel规范的流程定义?
7、开发环境可以直接运行,但实际部署时是否需要与数据库搭配起来,即是否需要创建特定的bpm中间表?流程运行信息是否保存到中间表中。
8、培训老师说bpm也可以完成一些ESB的工作,因为有些企业部署bpm时并没有部署ESB,所以bpm具备一些ESB功能,但具体效果如何?
总结:
oracle bpm总体上功能比较强大,但在工作流产品的一些难点上还是存在一些不确定性,需要继续探究其某些特性。
附上自己从网上找到的oracle bpm pdf内容:
关于是否需要外部数据库:
BAM data is stored within a database. In Oracle BPM Studio, this information
is stored internally as part of the embedded process execution engine database.
In Oracle BPM Enterprise, you must configure an external database to function
as the BAM database.
Engine and Directory Database Connectivity
The following connectivity properties are required when configuring Oracle BPM Enterprise.
These connectivity properties are used when configuring JDBC drivers and directory services. They are used
to connect to the following databases:
1、Engine Database --引擎数据库
2、Directory Database --组织架构的LDAP数据库
3、BAM Database --BAM数据库
4、Archive Database --归档数据库
支持集群:
Enabling Clustering
If you are configuring your Oracle BPM Enterprise to run within a clustered J2EE environment, you must
enable clustering using the Process Administrator.
自定义jsp表单
There is a complete example, which shows the use of JSPs combined
with BPM Objects in the sample directory of your Studio installation.
The project name is FoodDelivery.fpr.
In this section you will find useful examples about using different
HTML form components. In all the examples we will use as the JSP
BPM Object a person of type Person.
Creating the JSP
The JSP should be created in any external editor outside the Studio.
Once it has been created it should be imported into the project
including its resources. The JSP is a regular one containing the
following special features which allows you to use the BPM tag
libraries in order to access the BPM Object's attributes and methods:
Make you have included the following line at the beginning of the
JSP:
At the very beginning of the JSP file you should import the BPM tag
library and the java standard tag library (advisable but not required)
as follows:
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://fuego.com/jsp/ftl" prefix="f" %>