是否有创建 BPMN 的 Java API? [英] Is there a Java API that creates BPMN?

查看:22
本文介绍了是否有创建 BPMN 的 Java API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法通过 Java API 以编程方式创建 BPMN 2.0?

我知道我可以使用图形建模工具或创建BPMN XML 手动但我正在寻找一种在运行时动态创建它的方法.

就我而言,BPMN 将通过 jBPM 执行.jBPM 文档 说你可以使用他们的 API 来定义进程,但他们不建议使用它来保护自己免受内部 API 的影响".如果有一个与特定供应商无关的 API,那就太好了.

解决方案

EasyBPMN 是一种选择.没有供应商中立"的方式,因为 Java 没有针对该概念的标准 API(与通用 XML 操作不同),但这将是一种在工作流引擎和建模工具之间更具可移植性的选项.

Is there a way to programmatically create BPMN 2.0 via a Java API?

I'm aware that I can use a graphical modeling tool or create the BPMN XML by hand but I'm looking for a way to create it dynamically at run-time.

In my case, the BPMN will be executed through jBPM. The jBPM docs say you can use their API to define processes but they don't recommend its use "to shield yourself from internal APIs". It would be great if there were an API that wasn't tied to a specific vendor.

解决方案

EasyBPMN is one option. There is no "vendor neutral" way in that Java doesn't have a standard API for the concept (unlike, say generic XML manipulation), but this would be an option which would be more portable between workflow engines and modeling tools.

这篇关于是否有创建 BPMN 的 Java API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆