给jBPM4提的建议

6 回复 [最后一篇]
kayzhan
kayzhan 的头像
User offline. Last seen 2 年 15 周 ago. Offline
注册时间: 03/27/2009
积分: 142

我想提一个建议,现在jBPM4使用的是反射模式,而没有创建setter方法,所以当我们在把Spring和jBPM4整合到一起的时候就很不方便。我们还得写一个类继承jBPM4的类,然后加上setter方法才能使用。如果Tom能在类里加上setter方法的话就太好了,我们就可以直接使用jBPM4的类了。

 

I would like a suggestion for jBPM4,Now it using reflection and does not have a setter method. So it is hard to integrate it with Spring. We have to write a sub class to inherit the class in jBPM4, and add a setter method for the sub class. So it is kind if Tom could add these setter methods in jBPM4,then we could use these class directly in Spring.

不知道翻译的有没有问题,先在这里问问,让英语好的给我点建议o(∩_∩)o...哈哈

 

ronghao
ronghao 的头像
User offline. Last seen 1 年 36 周 ago. Offline
注册时间: 03/27/2009
积分: 31

I would like submit a suggestion for jBPM4,Now it using reflection to access properties and does not have setter methods. So it is hard to integrate with Spring. We have to write sub classes to inherit the class which in jBPM4, and add setter methods for the sub classes. So it is kind if Tom could add these setter methods in jBPM4, and then we could use these classes directly in Spring.

zhyi_12
zhyi_12 的头像
User offline. Last seen 2 年 27 周 ago. Offline
注册时间: 05/06/2009
积分: 1

spring和 jbpm4的集成很简单

在下面的网址中有简单集成spring 和 jbpm4的方法。

http://www.slideshare.net/guest8d4bce/spring-integration-with-jbpm4

jbpm4的分支中已经有了集成的代码

http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbpm_svn/jbpm4/branches/ainze/

 只需要合并几个类就可以解决集成的问题

这个是我早些天对svn上的代码做的合并,最终的spring配置只多了几行

http://zhyi-12.javaeye.com/blog/375061

kayzhan
kayzhan 的头像
User offline. Last seen 2 年 15 周 ago. Offline
注册时间: 03/27/2009
积分: 142

 呵呵!貌似楼上的同志理解错我的意思了,整合我们是搞定了,只是整合之后使用起来还需要自己写setter方法才能注入。o(∩_∩)o...

snowfox
snowfox 的头像
User offline. Last seen 1 天 7 小时 ago. Offline
注册时间: 03/27/2009
积分: 635

 这个可以先发给jbpm-dev的mailing list,然后看看其他人怎么反馈

snowfox
snowfox 的头像
User offline. Last seen 1 天 7 小时 ago. Offline
注册时间: 03/27/2009
积分: 635

以上2段英语都有一些问题,中文组织的也有问题,这个就不细说了,我认为这种提法也不是很好,还是换种说法,然后直接发到jbpm-dev的mailing list

kayzhan
kayzhan 的头像
User offline. Last seen 2 年 15 周 ago. Offline
注册时间: 03/27/2009
积分: 142

 - _ -下次一定先内部讨论下,这方面还请大家多多指教了。

评论查看选项

选择您喜欢的显示评论的模式,并点击“保存设置”来保存您所做的改变。