`
atgoingguoat
  • 浏览: 199744 次
  • 性别: Icon_minigender_1
  • 来自: 长沙
社区版块
存档分类
最新评论

JBPM5工作流引擎 S2SH+JBPM4.4开发工作流的一个完整的请假流程例子

    博客分类:
  • java
阅读更多

JBPM5工作流引擎 S2SH+JBPM4.4开发工作流的一个完整的请假流程例子。带有文档教程和所有源码+JAR包。在网上找了半天jbpm6\jbpm7的资料,都很少。所以

环境:Myeclipse2015

           JDK1.7 mysql 5.0

           Struts2+Spring3.1

 JBPM5工作流引擎 S2SH+JBPM4.4开发工作流的一个完整的请假流程例子

JBPM5工作流引擎 S2SH+JBPM4.4开发工作流的一个完整的请假流程例子。带有文档教程和所有源码+JAR包。在网上找了半天jbpm6\jbpm7的资料,都很少。所以 环境:Myeclipse2015 JDK1.7 mysql 5.0 Struts2

 

源代码下载地址:

http://download.csdn.net/download/atgoingguoat/9990609

 

1. 导入项目

2. 修改jdbc.properties属性文件(执行jbpm5.sql)

3. 项目部署,访问127.0.0.1/jbpm5,登录john填写请假单

4. 注销,登录boss/manager处理任务

 

关于taskList.jsp页面js里报错的问题,知道怎么弄的麻烦告诉我一下,不知道直接忽略即可,运行时没错的;applicationContext的drools报错也是如此



 



 

 

 

 

 

 

 

 

 

 

 

附件中有源码+JAR包下载

 

 http://atgoingguoat.iteye.com/admin/blogs/2394138/edit

  • 大小: 15 KB
  • 大小: 6 KB
  • 大小: 18.3 KB
  • 大小: 10.8 KB
  • 大小: 12.1 KB
  • 大小: 14.7 KB
  • 大小: 24.9 KB
  • 大小: 40.6 KB
  • 大小: 42.3 KB
  • 大小: 50.2 KB
  • 大小: 27.4 KB
0
0
分享到:
评论
1 楼 zssapple 2017-10-23  
taskList.jsp 中的问题解决:
if(${sessionScope.leave.user.name} eq "john")  修改为  if("john" == $(sessionScope.leave.user.name) )

drools 中XML文件问题解决:问题是drools的XML依赖错误,导致找不到XML依赖的drools找不到
换个drools的.xsd的路径就可以了
<beans  xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:tx="http://www.springframework.org/schema/tx"
        xmlns:context="http://www.springframework.org/schema/context"
        xmlns:mvc="http://www.springframework.org/schema/mvc"
        xmlns:drools="http://drools.org/schema/drools-spring"
        xmlns:cxf="http://camel.apache.org/schema/cxf"
        xmlns:jaxrs="http://cxf.apache.org/jaxrs"
        xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-3.0.xsd 
           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
           http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
           http://drools.org/schema/drools-spring http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-container/drools-spring/src/main/resources/org/drools/container/spring/drools-spring.xsd
           http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
          http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
           http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
           </beans>

相关推荐

Global site tag (gtag.js) - Google Analytics