??xml version="1.0" encoding="utf-8" standalone="yes"?>91亚洲国产在人线播放午夜,亚洲狠狠狠一区二区三区,亚洲第一精品电影网http://m.tkk7.com/znjqolf/category/5180.htmlAll about Vincent's work and lifezh-cnTue, 27 Feb 2007 08:57:40 GMTTue, 27 Feb 2007 08:57:40 GMT60JBPM-Task和页面的l定http://m.tkk7.com/znjqolf/archive/2006/01/10/27464.htmlVincent ThinkingVincent ThinkingTue, 10 Jan 2006 12:51:00 GMThttp://m.tkk7.com/znjqolf/archive/2006/01/10/27464.htmlhttp://m.tkk7.com/znjqolf/comments/27464.htmlhttp://m.tkk7.com/znjqolf/archive/2006/01/10/27464.html#Feedback0http://m.tkk7.com/znjqolf/comments/commentRss/27464.htmlhttp://m.tkk7.com/znjqolf/services/trackbacks/27464.html
"大枪"是修改了JBPM的源代码,来支持比?<Task name="aa" url="/xx/yy.jsp">"的表C方?q样的处理效果可能不是很?需要修改相应的源代?升的时候也要同样修?

我采取了另外一U折中的Ҏ,建立一个关联表,或者作个配|文?url和相应的task name对对应关p?

q行时得到相应的Task对象,得到相应的name,从对应表中取出绑定的面q行加蝲.



Vincent Thinking 2006-01-10 20:51 发表评论
]]>
JBPM- 整合Jbpm,tomcat,mysqlhttp://m.tkk7.com/znjqolf/archive/2005/12/19/24654.htmlVincent ThinkingVincent ThinkingMon, 19 Dec 2005 09:26:00 GMThttp://m.tkk7.com/znjqolf/archive/2005/12/19/24654.htmlhttp://m.tkk7.com/znjqolf/comments/24654.htmlhttp://m.tkk7.com/znjqolf/archive/2005/12/19/24654.html#Feedback9http://m.tkk7.com/znjqolf/comments/commentRss/24654.htmlhttp://m.tkk7.com/znjqolf/services/trackbacks/24654.html
1. 下蝲jbpm http://www.jboss.com/products/jbpm/downloads

2. 解压Q导入eclispe的项目中 配置MYSQL 1. 在eclipse的jpbm目中加入mysql的lib 2. mysql创徏一个数据库"jbpm"

3. 在eclipse的jbpm目中找?jbpm-3.0\src\resources'目录Q创Z个自目录'mysql'

4. 把同目录hsqldb文g夹中?个文?create.db.hibernate.properties, identity.db.xml)拯到mysql目录?

5. 按下面所C编?'create.db.hibernate.properties'

hibernate.dialect=org.hibernate.dialect.MySQLDialect
hibernate.connection.driver_class
=com.mysql.jdbc.Driver
hibernate.connection.url
=jdbc:mysql://localhost:3306/jbpm
hibernate.connection.username
=root
hibernate.connection.password
=root
hibernate.c3p0.min_size
=1
hibernate.c3p0.max_size
=3
hibernate.show_sql
=true


6. 在eclipse的jbpm目中找到ant脚本'build.deploy.xml'Q进行编?扑ֈ target name="create.db", 删除 db.start, db.stop 在这个目标块中将所有的'hsqldb' 替换?'mysql'

7. q行ant create.db -buildfile build.deploy.xml创徏jbpm表结?

8. 扑ֈtarget name="build.webapp"按下面进行编?
  <target name="build.webapp" description="builds jbpm.war">
    
<ant antfile="build.xml" target="build.webapp" /> 
    
<mkdir dir="build/jbpm.war.dir" /> 
    
<copy todir="build/jbpm.war.dir">
      
<fileset dir="src/resources/jbpm.war" /> 
    
</copy> 
    
<copy todir="build/jbpm.war.dir/WEB-INF/lib">
      
<fileset dir="build" includes="jbpm-webapp-${jbpm.version}.jar" /> 
      
<fileset dir="lib/jsf" includes="*.jar" /> 
      
<fileset dir="lib/commons" includes="commons-digester-*.jar, commons-beanutils-*.jar" /> 
    
</copy> 
    
<jar destfile="build/jbpm.war">
      
<fileset dir="build/jbpm.war.dir" />
    
</jar> 
  
</target>


9. 扑ֈ目录src/resourcesQ编辑jbpm.properties文g
jbpm.scheduler.service.factory=org.jbpm.scheduler.impl.SchedulerServiceImpl
jbpm.task.instance.class
=org.jbpm.taskmgmt.exe.TaskInstance

# uncomment the next line if JbpmSessionFactory.getInstance()
# should lookup the singleton instance from JNDI instead of creating 
# a default one.
#
#jbpm.session.factory.jndi.name
=java:/jbpm/JbpmSessionFactory

# uncomment the next line to use the file system instead of the database for 
# storing files related to a process definition
#
# jbpm.files.dir
=c:/jbpm.data

# resource path to a properties file that will overwrite all the hibernate 
# properties. For database specific builds in db project there is a different
# hibernate.properties file on the classpath for each database. You could change
# the default database for any testing runs by uncommenting the next line and
# adding a hibernate.properties file in the basedir.
#
jbpm.hibernate.cfg.xml
=jbpm.hibernate.cfg.xml
#jbpm.hibernate.properties
=jbpm.hibernate.properties

~辑jbpm.hibernate.properties文g
#hibernate.dialect=org.hibernate.dialect.HSQLDialect
#hibernate.connection.datasource
=java:/DefaultDS

10. 扑ֈsrc/config.files目录Q编辑hibernate.cfg.xml文g
    <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
    
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
    
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/jbpm3</property>
    
<property name="hibernate.connection.username">root</property>
    
<property name="hibernate.connection.password">root</property>
        
    
<!-- c3p0 connection pooling properties-->
    
<property name="hibernate.c3p0.min_size">1</property>
    
<property name="hibernate.c3p0.max_size">3</property>

    
<property name="hibernate.query.substitutions">true 1, false 0</property>
    
<property name="hibernate.connection.pool_size">15</property>

11. q行ANT脚本ant build.webapp -buildfile build.deploy.xml 生成jbpm.warQ拷贝到tomcat web目录中,启动tomcatQ输?http://localhost:8080/jbpm' 可以看C的example

Vincent Thinking 2005-12-19 17:26 发表评论
]]>
JBPM- 程设计?/title><link>http://m.tkk7.com/znjqolf/archive/2005/11/23/21180.html</link><dc:creator>Vincent Thinking</dc:creator><author>Vincent Thinking</author><pubDate>Wed, 23 Nov 2005 12:56:00 GMT</pubDate><guid>http://m.tkk7.com/znjqolf/archive/2005/11/23/21180.html</guid><wfw:comment>http://m.tkk7.com/znjqolf/comments/21180.html</wfw:comment><comments>http://m.tkk7.com/znjqolf/archive/2005/11/23/21180.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://m.tkk7.com/znjqolf/comments/commentRss/21180.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/znjqolf/services/trackbacks/21180.html</trackback:ping><description><![CDATA[׃现在产品是一个ERPpȝQ对于工作流的需求ƈ不像我曾l做q的政府审批pȝ的复杂。所以对于工作流的的技术选择Q范围也相对q的多。XPDL相对要熟悉一些,但是看了相关的开源框Ӟ研究了一下SharkQ发C很多问题。对于Sharkq样庞大的工作流pȝQ要整合C品中Q单从技术角度来看就会有很多问题QDODS很难替换成HibernateQ系l代码量庞大Q也不利于改q,所以综合考虑Q最l选择了JBPMq个开源工作流?BR>      产品中需要一个工作流设计器,JBPM的设计器ZEclipseQ这点不W合我们的要求。我们需要的是Online WorkFlowEditorQ直接在面上画出流E图Q直接在面上发布,省去了流E文件的上传发布的一pd操作。所以最后采用了Applet的方式,当然我们把jre安装环境集成Cpȝ中,面IE的jre选项Q自动安装JRE插g?BR>      Applet采用了Jgraphq个开源库Q用了下Q确实很不错Q几个demo做的也很漂亮?BR>      目中做的设计器Q画好流E图Q对于每个节点,选择相应的组Ӟ生成后直接上传到服务器端。下面是一个截?<BR><BR><IMG title=workflowdesigner1.0 height=503 alt=workflowdesigner.JPG src="http://m.tkk7.com/images/blogjava_net/znjqolf/work/workflowdesigner.JPG" width=730 border=0><img src ="http://m.tkk7.com/znjqolf/aggbug/21180.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/znjqolf/" target="_blank">Vincent Thinking</a> 2005-11-23 20:56 <a href="http://m.tkk7.com/znjqolf/archive/2005/11/23/21180.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>лǵվܻԴȤ</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> վ֩ģ壺 <a href="http://18yinren.com" target="_blank">ձһƷƵ</a>| <a href="http://laxdz.com" target="_blank">ٸ̫ˬ߹ۿƵ</a>| <a href="http://saohu533.com" target="_blank">ɫ͵͵ͼۺ</a>| <a href="http://www-474749.com" target="_blank">Ʒպһ</a>| <a href="http://lidajc.com" target="_blank">ֻˬִƵ</a>| <a href="http://mt569.com" target="_blank">ëƬڵ߳</a>| <a href="http://mqiuxia66.com" target="_blank">޾Ʒva߹ۿѿ</a>| <a href="http://zengzeyu.com" target="_blank">Ƶ߹ۿ</a>| <a href="http://djyvp32.com" target="_blank">337Pձŷ޴󵨾Ʒ</a>| <a href="http://paweax.com" target="_blank">һ</a>| <a href="http://yinyinai155.com" target="_blank">AV߹ۿ㱼</a>| <a href="http://www-gogo.com" target="_blank">޷ŮһŶ</a>| <a href="http://c7372.com" target="_blank">Ļѹۿ</a>| <a href="http://www55xx.com" target="_blank">Ļ</a>| <a href="http://czshenyue.com" target="_blank">avƬvrһ </a>| <a href="http://znboxcdn304.com" target="_blank">88xxѹۿ</a>| <a href="http://1515m.com" target="_blank">޺ÿƬӰ</a>| <a href="http://8mav938.com" target="_blank">wwwƵѿ</a>| <a href="http://ningxialanh.com" target="_blank">ɫþþۺ</a>| <a href="http://baiyifuwu.com" target="_blank">պһ</a>| <a href="http://www-8908.com" target="_blank">ڵƵ</a>| <a href="http://kanboy.com" target="_blank">ѿ߾Ʒһ</a>| <a href="http://tao-zhe.com" target="_blank">hƵ߹ۿ</a>| <a href="http://yeyaweiban.com" target="_blank">һav</a>| <a href="http://w6336.com" target="_blank">˳wwwӰ</a>| <a href="http://hbgksy.com" target="_blank">va߹ۿ</a>| <a href="http://trgod.com" target="_blank">˵߹ۿ</a>| <a href="http://ccc16938.com" target="_blank">hƵ߹ۿ</a>| <a href="http://wwwayx2026.com" target="_blank">þAVӰ</a>| <a href="http://xawsfkaisuo.com" target="_blank">ؼAƬëƬѿ</a>| <a href="http://929119.com" target="_blank">ž޹Ʒ </a>| <a href="http://zwdyw.com" target="_blank">ѴƬ߹ۿ</a>| <a href="http://jiezinet.com" target="_blank">ۺһ</a>| <a href="http://av520av.com" target="_blank">ѾƷ͵Բ</a>| <a href="http://155562.com" target="_blank">ɫͼУ԰ɫ</a>| <a href="http://jyzs888.com" target="_blank">߹ۿ91Ʒ</a>| <a href="http://952268.com" target="_blank">Ļɫ</a>| <a href="http://9527paotui.com" target="_blank">þþƷȫۿ</a>| <a href="http://xjtuykw.com" target="_blank">ƷþþþþӰ</a>| <a href="http://by3142.com" target="_blank">˳վ</a>| <a href="http://zz1220.com" target="_blank">ҹƵ</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>