- 浏览: 157642 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
sudaxian:
哥啊。得多少jar支持说一声啊,你这完全是写给自己看的。jar ...
JEECG 通用数据库导入导出excel -
sky_kk:
很好
解决使用FireFox下Flash上传文件时SESSION丢失的问题(swfupload) -
wdxheb:
作者有文学天赋,别放弃治疗
悟透JavaScript (转帖[绝对经典]) -
hoho922:
页面是: <div class="eas ...
jeecg v2.0 实现上传功能 -
hoho922:
请教个问题啊,我做上传功能时总提示错误:[org.apache ...
jeecg v2.0 实现上传功能
1.新建一个动态的web项目
2.在lib目录下加入以下jar包(由于用到fileupload的上传,所以还要加入fileupload的依赖库)
*JBPM4_HOME/jbpm.jar
*JBPM4_HOME/lib/*.jar
*jakarta-taglibs-standard-1.1.2_HOME/lib/jstl.jar
*jakarta-taglibs-standard-1.1.2_HOME/lib/standard.jar
*commons-fileupload-1.2.1_HOME/lib/commons-fileupload-1.2.1.jar
3.绘制流程图(在resources目录下建立一个leave.jpdl.xml文件)
4.编写流程发布及控制的类
2.在lib目录下加入以下jar包(由于用到fileupload的上传,所以还要加入fileupload的依赖库)
引用
*JBPM4_HOME/jbpm.jar
*JBPM4_HOME/lib/*.jar
*jakarta-taglibs-standard-1.1.2_HOME/lib/jstl.jar
*jakarta-taglibs-standard-1.1.2_HOME/lib/standard.jar
*commons-fileupload-1.2.1_HOME/lib/commons-fileupload-1.2.1.jar
3.绘制流程图(在resources目录下建立一个leave.jpdl.xml文件)
Activity(活动):
1. start活动的意义在于指明一个流程的实例应该从哪里开始发起,即流程的入口。start活动必须有一个流出转移(transition);
2. 流程实例流到State状态活动时,就陷入了一个中断、等待状态,必须得收到外部的干预操作后才能继续运行;
3. decision活动可以拥有多个流出转移,当流程实例到达decision活动时,会根据最先匹配成功的一个条件自动地通过相应的流出转移。
三种方式实现decision活动流向:
* 使用decision活动的condition元素。
* 使用decision活动的expr属性。
* 使用decision活动的handler元素。
4. fork-join:分支/聚合活动
5. end:结束活动
6. task:人工任务活动
7. sub-process:子流程活动
8. custom:自定义活动
1. start活动的意义在于指明一个流程的实例应该从哪里开始发起,即流程的入口。start活动必须有一个流出转移(transition);
2. 流程实例流到State状态活动时,就陷入了一个中断、等待状态,必须得收到外部的干预操作后才能继续运行;
3. decision活动可以拥有多个流出转移,当流程实例到达decision活动时,会根据最先匹配成功的一个条件自动地通过相应的流出转移。
三种方式实现decision活动流向:
* 使用decision活动的condition元素。
* 使用decision活动的expr属性。
* 使用decision活动的handler元素。
4. fork-join:分支/聚合活动
5. end:结束活动
6. task:人工任务活动
7. sub-process:子流程活动
8. custom:自定义活动
Java代码
- <?xml version= "1.0" encoding= "UTF-8" ?>
- <process name="leave" xmlns= "http://jbpm.org/4.0/jpdl" >
- <start g="201,14,48,48" name= "开始" >
- <transition g="-42,-10" name= " 请假" to= "填写请假单" />
- </start>
- <task assignee="Kayzhan" g= "178,87,92,52" name= "填写请假单" >
- <transition g="-97,2" name= "判 断是不是经理" to= "是不是经理" />
- </task>
- <decision expr="#{manager}" g= "204,158,48,48" name= "是不是经理" >
- <transition g="-23,-11" name= " 否" to= "经理审核" />
- <transition g="14,-11" name= " 是" to= "老板审批" />
- </decision>
- <task assignee="Lingo" g= "103,252,92,52" name= "经理审核" >
- <transition g="150,450:10,-21" name= "经理批准" to= "结束" />
- <transition g="-22,-22" name= " 请假天数>3" to= "老板审批" />
- <transition g="-61,-1" name= " 经理不批准" to= "终止" />
- <transition g="149,114:-55,82" name= "经理驳回" to= "填写请假 单" />
- </task>
- <task assignee="ForgetDavi" g= "278,251,92,52" name= "老板审批" >
- <transition g="326,450:-58,-24" name= "老板批准" to= "结束" />
- <transition g="7,0" name= "老板不 批准" to= "终止" />
- <transition g="323,114:13,61" name= "老板驳回" to= "填写请假 单" />
- </task>
- <end g="219,429,48,48" name= "结束" state= "confirm" />
- <end g="220,360,48,48" name= "终止" state= "dissent" />
- </process>
<?xml version="1.0" encoding="UTF-8"?> <process name="leave" xmlns="http://jbpm.org/4.0/jpdl"> <start g="201,14,48,48" name="开始"> <transition g="-42,-10" name="请假" to="填写请假单"/> </start> <task assignee="Kayzhan" g="178,87,92,52" name="填写请假单"> <transition g="-97,2" name="判断是不是经理" to="是不是经理"/> </task> <decision expr="#{manager}" g="204,158,48,48" name="是不是经理"> <transition g="-23,-11" name="否" to="经理审核"/> <transition g="14,-11" name="是" to="老板审批"/> </decision> <task assignee="Lingo" g="103,252,92,52" name="经理审核"> <transition g="150,450:10,-21" name="经理批准" to="结束"/> <transition g="-22,-22" name="请假天数>3" to="老板审批"/> <transition g="-61,-1" name="经理不批准" to="终止"/> <transition g="149,114:-55,82" name="经理驳回" to="填写请假单"/> </task> <task assignee="ForgetDavi" g="278,251,92,52" name="老板审批"> <transition g="326,450:-58,-24" name="老板批准" to="结束"/> <transition g="7,0" name="老板不批准" to="终止"/> <transition g="323,114:13,61" name="老板驳回" to="填写请假单"/> </task> <end g="219,429,48,48" name="结束" state="confirm"/> <end g="220,360,48,48" name="终止" state="dissent"/> </process>
4.编写流程发布及控制的类
Java代码
- package zzg;
- import java.io.IOException;
- import java.lang.reflect.Method;
- import java.util.ArrayList;
- import java.util.HashMap;
- import java.util.Iterator;
- import java.util.LinkedHashMap;
- import java.util.List;
- import java.util.Map;
- import java.util.Set;
- import java.util.zip.ZipInputStream;
- import javax.servlet.ServletConfig;
- import javax.servlet.ServletException;
- import javax.servlet.http.HttpServlet;
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import org.apache.commons.fileupload.DiskFileUpload;
- import org.apache.commons.fileupload.FileItem;
- import org.jbpm.api.Configuration;
- import org.jbpm.api.Execution;
- import org.jbpm.api.ExecutionService;
- import org.jbpm.api.ProcessDefinition;
- import org.jbpm.api.ProcessDefinitionQuery;
- import org.jbpm.api.ProcessEngine;
- import org.jbpm.api.ProcessInstance;
- import org.jbpm.api.RepositoryService;
- import org.jbpm.api.TaskService;
- import org.jbpm.api.task.Task;
- /**
- * Servlet implementation class LeaveServlet
- */
- public class LeaveServlet extends HttpServlet {
- private static final long serialVersionUID = 1L;
- private ProcessEngine processEngine = null ;
- private RepositoryService repositoryService = null ;
- private ExecutionService executionService = null ;
- private ProcessInstance processInstance = null ;
- private TaskService taskService = null ;
- private Task task = null ;
- private Execution execution = null ;
- private String url = null ;
- private List list = null ;
- private List<Task> taskList = null ;
- /* 初始化ProcessEngine. */
- public void init(ServletConfig config) throws ServletException {
- super .init(config);
-
// 获取流程引擎
-
//
sdfsdfsdf
- processEngine = new Configuration().buildProcessEngine();
- repositoryService = processEngine.getRepositoryService();
- executionService = processEngine.getExecutionService();
- taskService = processEngine.getTaskService();
- }
- protected void doGet(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- process(request, response);
- }
- protected void doPost(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- process(request, response);
- }
- protected void process(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- String zzg = request.getParameter("zzg" );
- if (zzg.equals( "deploy" )) {
- try {
- deploy(request, response);
- } catch (Exception e) {
- e.printStackTrace();
- }
- list = getLatestProcessDefinition(request, response);
- request.setAttribute("process" , list);
- request.getRequestDispatcher("/index.jsp" ).forward(request,
- response);
- } else if (zzg.equals( "leave" )) {
- url = leave(request, response);
- request.getRequestDispatcher(url).forward(request, response);
- } else if (zzg.equals( "query" )) {
- list = getProcessInstanceById(request, response);
- request.setAttribute("pi" , list);
- request.getRequestDispatcher("/index.jsp" ).forward(request,
- response);
- } else if (zzg.equals( "apply" )) {
- apply(request, response);
- list = getProcessInstanceById(request, response);
- request.setAttribute("pi" , list);
- request.getRequestDispatcher("/index.jsp" ).forward(request,
- response);
- } else if (zzg.equals( "getTask" )) {
- list = getTask(request, response);
- request.setAttribute("taskList" , list);
- request.getRequestDispatcher("/check.jsp" ).forward(request,
- response);
- } else if (zzg.equals( "view" )) {
- Map<String, Object> map = view(request, response);
- request.setAttribute("map" , map);
- request.getRequestDispatcher("/view.jsp" )
- .forward(request, response);
- } else if (zzg.equals( "confirm" )) {
- confirm(request, response);
- list = getTask(request, response);
- request.setAttribute("taskList" , list);
- request.getRequestDispatcher("/check.jsp" ).forward(request,
- response);
- } else if (zzg.equals( "dissent" )) {
- dissent(request, response);
- list = getTask(request, response);
- request.setAttribute("taskList" , list);
- request.getRequestDispatcher("/check.jsp" ).forward(request,
- response);
- }
- /*
- * try { Class clz = this.getClass(); Method method =
- * clz.getDeclaredMethod(action, HttpServletRequest.class,
- * HttpServletResponse.class); method.invoke(this, request, response); }
- * catch (Exception ex) { ex.printStackTrace(); }
- */
- }
- protected void deploy(HttpServletRequest request,
- HttpServletResponse response) throws Exception, IOException {
- String temp = getServletContext().getRealPath("/temp" );
- String upload = getServletContext().getRealPath("/upload" );
- DiskFileUpload diskFileUpload = new DiskFileUpload();
- diskFileUpload.setFileSizeMax(1 * 1024 * 1024 );
- diskFileUpload.setSizeThreshold(4096 );
- diskFileUpload.setRepositoryPath(temp);
- List fileItems = diskFileUpload.parseRequest(request);
- Iterator iter = fileItems.iterator();
- if (iter.hasNext()) {
- FileItem item = (FileItem) iter.next();
- if (!item.isFormField()) {
- String name = item.getName();
- long size = item.getSize();
- System.out.println("name: " + name + "&size:" + size);
- if (name != null && !name.equals( "" ) && size > 0 ) {
- // Deploying a process部署流程
- repositoryService.createDeployment()
- .addResourcesFromZipInputStream(
- new ZipInputStream(item.getInputStream()))
- .deploy();
- }
- }
- }
- }
- protected String leave(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- // 根据流程定义的KEY值启动一个新的流程实例
- processInstance = executionService.startProcessInstanceByKey("leave" );
- //判断流程定义的活动是否是“填写请假单”的活动
- if (processInstance.isActive( "填写请假单" )) {
- url = "/apply.jsp" ;
- }
- return url;
- }
- protected Map<String, Object> apply(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- Map<String, Object> variables = new HashMap<String, Object>();
- String name = request.getParameter("applyName" );
- String time = request.getParameter("applyTime" );
- String leaveDay = request.getParameter("leaveDay" );
- String content = request.getParameter("content" );
- String position = request.getParameter("position" );
- variables.put("name" , name);
- variables.put("time" , time);
- variables.put("leaveDay" , leaveDay);
- variables.put("content" , content);
- variables.put("position" , position);
- if (position.trim().equals( "经理" )) {
- //"manager"变量名与leave.jpdl.xml中decision里面的变量一致,同时设置的值也要保 持一致
- variables.put("manager" , "是" );
- } else {
- variables.put("manager" , "否" );
- }
- //获取任务列表,因为我们在填写请假单的时候是分配给“zzg”的,见leave.jpdl.xml
- taskList = taskService.findPersonalTasks("zzg" );
- //根据任务列表获取任务
- task = taskList.get(0 );
- //把设置好的变量放到任务服务里面并根据任务ID结束任务
- taskService.setVariables(task.getId(), variables);
- taskService.completeTask(task.getId());
- //判断任务活动是否到达老板审批活动
- // execution = executionService.findExecutionById(task.getExecutionId());
- // System.out.println("isActive: "
- // + execution.getProcessInstance().isActive(" 老板审批"));
- return variables;
- }
- /**
- * 获 取任务列表
- *
- * @param request
- * @param response
- * @return
- * @throws ServletException
- * @throws IOException
- */
- protected List<Task> getTask(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- String name = request.getParameter("name" );
- taskList = taskService.findPersonalTasks(name);
- return taskList;
- }
- /**
- * 查 看任务
- *
- * @param request
- * @param response
- * @return
- * @throws ServletException
- * @throws IOException
- */
- protected Map<String, Object> view(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- String taskId = request.getParameter("id" );
- Set<String> set = taskService.getVariableNames(taskId);
- Map<String, Object> map = taskService.getVariables(taskId, set);
- return map;
- }
- protected void confirm(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- String taskId = request.getParameter("id" );
- task = taskService.getTask(taskId);
- execution = executionService.findExecutionById(task.getExecutionId());
- if (execution.getProcessInstance().isActive( "老板审批" )) {
- taskService.completeTask(taskId, "老板批准" );
- } else if (execution.getProcessInstance().isActive( "经理审核" )) {
- String variable = (String) taskService.getVariable(taskId,
- "leaveDay" );
- if (Integer.valueOf(variable) > 3 ) {
- taskService.completeTask(taskId, "请假天数>3" );
- } else {
- taskService.completeTask(taskId, "经理批准" );
- }
- }
- }
- protected void dissent(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- String taskId = request.getParameter("id" );
- task = taskService.getTask(taskId);
- execution = executionService.findExecutionById(task.getExecutionId());
- if (execution.getProcessInstance().isActive( "老板审批" )) {
- taskService.completeTask(taskId, "老板不批准" );
- } else if (execution.getProcessInstance().isActive( "经理审核" )) {
- taskService.completeTask(taskId, "经理不批准" );
- }
- }
- /**
- * 获 取最新版本的流程定义
- * @param request
- * @param response
- * @return
- * @throws ServletException
- * @throws IOException
- */
- protected List<ProcessDefinition> getLatestProcessDefinition(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- List<ProcessDefinition> processDefinitions = repositoryService
- .createProcessDefinitionQuery().orderAsc(
- ProcessDefinitionQuery.PROPERTY_NAME).list();
- Map<String, ProcessDefinition> map = new LinkedHashMap<String, ProcessDefinition>();
- for (ProcessDefinition pd : processDefinitions) {
- String key = pd.getKey();
- ProcessDefinition definition = map.get(key);
- if ((definition == null )
- || (definition.getVersion() < pd.getVersion())) {
- map.put(key, pd);
- }
- }
- return new ArrayList(map.values());
- }
- /**
- * 根 据流程定义ID获取流程实例
- * @param request
- * @param response
- * @return
- * @throws ServletException
- * @throws IOException
- */
- protected List<ProcessInstance> getProcessInstanceById(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- String pdId = request.getParameter("id" );
- return executionService.createProcessInstanceQuery()
- .processDefinitionId(pdId).list();
- }
- }
package zzg; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.zip.ZipInputStream; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.fileupload.DiskFileUpload; import org.apache.commons.fileupload.FileItem; import org.jbpm.api.Configuration; import org.jbpm.api.Execution; import org.jbpm.api.ExecutionService; import org.jbpm.api.ProcessDefinition; import org.jbpm.api.ProcessDefinitionQuery; import org.jbpm.api.ProcessEngine; import org.jbpm.api.ProcessInstance; import org.jbpm.api.RepositoryService; import org.jbpm.api.TaskService; import org.jbpm.api.task.Task; /** * Servlet implementation class LeaveServlet */ public class LeaveServlet extends HttpServlet { private static final long serialVersionUID = 1L; private ProcessEngine processEngine = null; private RepositoryService repositoryService = null; private ExecutionService executionService = null; private ProcessInstance processInstance = null; private TaskService taskService = null; private Task task = null; private Execution execution = null; private String url = null; private List list = null; private List<Task> taskList = null; /* 初始化ProcessEngine. */ public void init(ServletConfig config) throws ServletException { super.init(config); // 获取流程引擎 processEngine = new Configuration().buildProcessEngine(); repositoryService = processEngine.getRepositoryService(); executionService = processEngine.getExecutionService(); taskService = processEngine.getTaskService(); } protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request, response); } protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request, response); } protected void process(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String zzg = request.getParameter("zzg"); if (zzg.equals("deploy")) { try { deploy(request, response); } catch (Exception e) { e.printStackTrace(); } list = getLatestProcessDefinition(request, response); request.setAttribute("process", list); request.getRequestDispatcher("/index.jsp").forward(request, response); } else if (zzg.equals("leave")) { url = leave(request, response); request.getRequestDispatcher(url).forward(request, response); } else if (zzg.equals("query")) { list = getProcessInstanceById(request, response); request.setAttribute("pi", list); request.getRequestDispatcher("/index.jsp").forward(request, response); } else if (zzg.equals("apply")) { apply(request, response); list = getProcessInstanceById(request, response); request.setAttribute("pi", list); request.getRequestDispatcher("/index.jsp").forward(request, response); } else if (zzg.equals("getTask")) { list = getTask(request, response); request.setAttribute("taskList", list); request.getRequestDispatcher("/check.jsp").forward(request, response); } else if (zzg.equals("view")) { Map<String, Object> map = view(request, response); request.setAttribute("map", map); request.getRequestDispatcher("/view.jsp") .forward(request, response); } else if (zzg.equals("confirm")) { confirm(request, response); list = getTask(request, response); request.setAttribute("taskList", list); request.getRequestDispatcher("/check.jsp").forward(request, response); } else if (zzg.equals("dissent")) { dissent(request, response); list = getTask(request, response); request.setAttribute("taskList", list); request.getRequestDispatcher("/check.jsp").forward(request, response); } /* * try { Class clz = this.getClass(); Method method = * clz.getDeclaredMethod(action, HttpServletRequest.class, * HttpServletResponse.class); method.invoke(this, request, response); } * catch (Exception ex) { ex.printStackTrace(); } */ } protected void deploy(HttpServletRequest request, HttpServletRespon
发表评论
-
很好很适用jbpm理解
2011-09-15 20:07 467http://2383379.blog.163.com/blo ... -
好文章地址摘录
2011-09-13 16:05 589http://skyuck.iteye.com/blog/45 ... -
玩儿勿扰
2011-09-12 22:45 0http://www.iteye.com/topic/1763 ... -
jbpm地址
2011-09-09 17:57 796http://linliangyi2007.iteye.com ... -
摘录001
2011-09-08 16:59 679BPM4的一些相关概念(转) 首先,在jBPM4中, ...
相关推荐
【JBPM4整理学习资料】是一份全面介绍JBoss企业级业务流程管理(Business Process Management,简称BPM)系统JBPM4的教育资源。该资料集合了API文档、安装配置指南、常见操作步骤、数据库表结构解析以及流程分支与...
整理的别人JBPM4 学习资料, 工作流学习文档
jbpm
开发整理出了一个Web版本下的JBPM流程的创建,发起,审批,驳回等一系列操作的Demo,欢迎各位初学者下载查看。没有积分的网友可以去我的csdn博客找到“联系我”的模块,在左下角,通过QQ或者邮件的方式跟我索取
- 在jbpm4之前,jBPM没有内置的Web流程设计器,而Signavio弥补了这一空白,尽管它存在不支持中文和绘图困难等问题。 - 配置Signavio需要将war包发布到Tomcat服务器,并修改web.xml以设定文件保存路径。 - 访问...
backport-concurrent.jar、jboss-j2ee.jar、jboss-retro-1.1.0-rt.jar、jbpm-identity.jar、jbpm-jpdl.jar、jcr-2.0.jar、log4j-1.2.13.jar、mysql-connector-java-5.0.8-bin.jar。自己也正在学习中,包的正确性未...
4. **流程定义与JPDL**: - JPDL是基于图形的编程语言,通过定义节点、转换和动作来构建流程模型。 - 示例中的`Jpdl.xml`展示了简单的申请-审批-结束流程,包括起始状态(request)、审批状态(confirm)和结束...
作者通过实践学习并整理了关于jbpm的一些关键概念和操作。 首先,流程图是jbpm设计流程的核心,它包含了一系列的流程元素。在提到的订购流程中,主要包括以下元素: 1. 开始(start):表示流程的起点。 2. 结束(end)...
jBPM,全称Java Business Process Management,是一个开源的工作流管理系统,用于帮助企业实现业务流程自动化。在jBPM 4.4版本中,涉及到的关键技术点主要包括任务分配、用户模型和自定义任务分配处理器。 任务分配...
4. **节点表**和**流转表**:比如`jbpm_node`和`jbpm_edge`,分别表示流程图中的各个活动节点和它们之间的流转关系。 5. **历史表**:如`jbpm_hist_processinst`,记录流程实例的历史信息,用于审计和分析。 6. **...
自己学习jBPM4.2过程中的一些心得以及对官方文档的整理
最后一步是将收集到的数据整理并以适当的形式展示出来,如Web界面或控制台输出,以便于用户直观了解流程监控情况。 #### 三、结论 虽然JBPM本身未直接提供流程监控功能,但借助其提供的API和底层数据库结构,通过...
JBPM5表结构 亲手整理, H2转换成SQL SERVER
根据提供的文件信息,我们...以上是基于给定的文件信息整理出的主要知识点,覆盖了jBPM和jpdl的基本概念、安装部署、教程案例等多个方面。通过这些内容的学习,可以帮助读者更好地理解和掌握jBPM和jpdl的相关技术细节。
文件"JBPM4学习笔记.doc"可能包含了博主在学习过程中整理的详细笔记,涵盖了上述所有知识点的实践经验和心得,对于理解JBPM4.3的使用和开发有着重要的参考价值。 总结,JBPM4.3的学习笔记涵盖了流程建模、执行、...
【描述】提到的内容表明,这个压缩包是经过精心整理的,包含了jBPM4.4与SQL Server相关的核心组件,以便于用户在SQL Server环境下快速搭建和运行jBPM系统。共享的目的则意味着这是一份社区资源,可供学习和参考。 ...
首先,我们来看"安装和配置jBPM4.pdf"。这个文件应该详述了如何在本地环境中设置jBPM,包括下载最新版本的jBPM、配置开发环境(如IDEA或Eclipse)、安装必需的库和工具,以及如何启动和测试jBPM服务。通常,这个过程...
开发环境: Eclipse3.3 、MyEclipse6.0、 tomcat6.0 、jdk1.5 、sqlserver2000、jbpm-jpdl-3.2.3 这是我自己整理的笔记,如果大家的环境和我一样的话一定没有问题,
在这种情况下,描述指出它们是为一个使用jbpm4工作流的OA系统准备的。jbpm(Java Business Process Management)是一个开源的工作流和业务流程管理(BPM)套件,主要用于处理企业的业务流程自动化。 首先,我们来看...