PVM-流程虛擬機器

iteye_1815發表於2009-02-14

The Process Virtual Machine 
A single technology to support multiple process languages natively and embeddable 
流程虛擬機器-一種可嵌入的、原生的支援多流程語言的獨立技術。 
The Process Virtual Machine is a simple Java library for building and executing process graphs. This serves as a basis for all kinds of workflow, Business Process Management (BPM) and orchestration process languages. 
流程虛擬機器是一個用來構建和執行流程圖的簡單的java類庫。它充當各種工作流、業務流程管理和編制流程語言的基礎。 
The Process Virtual Machine is embeddable. Traditional BPM and workflow technologies are offered as monolithic systems to which an integration communication link has to be established. That, together with heavyweight deployment requirements makes the treshold of the traditional technologies often too big. The Process Virtual Machine is build around the concept of embeddable BPM, which means that the BPM engine runs as part of your application in your architecture. In case persistence is required, the database tables will be next to your domain model tables in your database. 
流程虛擬機器是嵌入式的。傳統的BPM和工作流技術是用來給已經建立整合通訊連線的多個單一系統提供服務的。也就是說,與特別重要的部署需求一起構成了傳統技術的門檻,而這些傳統技術體系經常很大。流程虛擬機器是圍繞著嵌入式BPM來建立的,這意味著bpm引擎是作為你的架構中的應用的一部分來執行的。假設需要持久化,資料庫表將會作為你的資料庫中的下一個領域模型表。 
So the PVM runs in all Java environments. Be it a standalone swing application, a web application on a servlet container like Tomcat, a spring environment or an enterprise application on an application server like JBoss. All of this with or without relational database persistence. 
因此流程虛擬機器作為一個獨立的swing應用,可以執行在所有的java環境中。它就像一個在servlet容器(例如Tomcat)中的web應用,在應用伺服器(例如JBoss)中的一個spring的應用或者企業應用。 
The Process Virtual Machine is the basis for multiple process languages. Native support for any process language can be build on top of the Process Virtual Machine. The runtime behaviour of each activity in the process graph is delegated to a Java interface. Process languages are a set of activity types. An activity implements the runtime behaviour and corresponds to one activity type. So building a process language on the PVM is as easy as creating a set of activity implementations. Through the same mechanism, languages like jPDL are very easily extensible. 
流程虛擬機器是多流程語言的基礎。對任何流程語言的原生支援都可以建立在流程虛擬機器之上。流程圖中每個活動的執行期行為被委託給一個java的介面。流程語言是一套活動型別的集合。一個活動實現執行期行為並且對應一個活動型別。因此在流程虛擬機器上建立一個流程語言就和建立一套活動實現一樣簡單。通過相同的機制,像jPDL這種語言是很容易擴充套件的。

 

此文譯自:http://www.jboss.org/jbossjbpm/pvm/

相關文章