<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    andyj2ee

    java tec sky

    統計

    留言簿(4)

    activemq

    aop

    design pattern

    other blog

    spring

    workflow

    多線程

    軟件架構師

    閱讀排行榜

    評論排行榜

    Integrating workflow engines with other system modules

    Hi all,

    This is probably a newbie question so please be tolerant :-)

    I am involved in the development of a system that has a business process management component. The system is based on Spring, Hibernate and Web Work 2. The question is, out of all those available BPM engines, which ones can easily be integrated into other infrastructures? My first impression is that BPM engines designed to be the infrastructure itself, so that functions such as data access, business logic and user interface are specified around it. As opposed to using another infrastructure (in our case, Spring + Hibernate + Web Work) where the BPM engine is merely a component.

    Is this distinction real? Should BPM engines logically be the center-piece of the system? Or am I grossly misunderstanding the issues?


    --->

    I feel that the best way to use a Workflow/BPM system is as a database is : something external that you access with some system users.

    Sometimes an embedded workflow engine is necessary, but in this case, the application that embeds should dictate the infrastructure

    --->

    I think it should be implemented as an aspect

    I have implemented a workflow engine before. I made it completely independent of the business objects etc. However, I had to modify business facades to call into the workflow engine; for example, to start a new process for a new request. At this point, I am thinking of doing it as an aspect in Spring, and I believe this will work out nicely.

    --->

    I am currently building a project using Struts, Spring and Hibernate with OSWorkflow. The current development build (2.8) has built-in support for a Spring / Hibernate environment. In this case, performing an action in the workflow can check against a set of pre-conditions, which can refer to logic in the business layer and can then call some functions if the conditions hold, which can also refer to business logic. This is nice because Spring deals with the dependencies for the conditions and functions. The end result is my business logic is protected by the workflow engine, which prevents any action being performed in the wrong stage of the process.

    The only downside of OSWorkflow is that you have to call the workflow action by passing the action's id (an int) and a map of all the inputs to the engine. I'm getting around this by writing an abstraction layer that provides nice method signatures (the business facade) for my struts actions (or any other client). These methods will map to an action id, take all the arguments from the signature and wrap them in a map and call the action.

    I hope this is helpful.

    Adam

    http://www.manageability.org/blog/stuff/workflow_in_java/view



    方向:分布式系統設計

    posted on 2005-04-28 18:49 java光環 閱讀(535) 評論(0)  編輯  收藏 所屬分類: workflow

    主站蜘蛛池模板: 亚洲黄色一级毛片| 久久精品国产亚洲沈樵| 亚洲国产视频一区| 久久国产精品2020免费m3u8| 日本亚洲国产一区二区三区| 国产免费高清69式视频在线观看 | 在线永久免费的视频草莓| 少妇中文字幕乱码亚洲影视| 香蕉免费一区二区三区| 亚洲资源在线视频| 亚洲黄色免费观看| 456亚洲人成在线播放网站| 成人免费777777| 国产亚洲欧美日韩亚洲中文色| 国产成人免费高清在线观看| 麻豆va在线精品免费播放| 亚洲高清免费视频| 91视频免费网站| 久久亚洲一区二区| 美女视频黄的全免费视频网站| 精品丝袜国产自在线拍亚洲| 精品无码国产污污污免费| 男女交性无遮挡免费视频| 久久久久噜噜噜亚洲熟女综合| 久久免费精品视频| 中文字幕在线日亚洲9| 免费中文字幕不卡视频| 岛国岛国免费V片在线观看| 久久精品国产亚洲AV香蕉| 免费理论片51人人看电影| 精品久久久久久无码免费| 亚洲黄色片在线观看| 日韩免费毛片视频| 国产日韩一区二区三免费高清| 亚洲手机中文字幕| 亚洲精品无码av天堂| 1000部免费啪啪十八未年禁止观看 | 最近最新高清免费中文字幕 | 久久久久久AV无码免费网站下载| 亚洲国产精品xo在线观看| 亚洲AV无码一区二三区|