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

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

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

    andyj2ee

    java tec sky

    統(tǒng)計

    留言簿(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



    方向:分布式系統(tǒng)設計

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

    主站蜘蛛池模板: 久久大香伊焦在人线免费| 美美女高清毛片视频黄的一免费 | 女人与禽交视频免费看| 亚洲最大黄色网站| 亚洲免费一级视频| 亚洲av无码久久忘忧草| 成视频年人黄网站免费视频| 亚洲精品一区二区三区四区乱码| 69影院毛片免费观看视频在线| 亚洲一区二区中文| 蜜臀98精品国产免费观看| 亚洲欧洲中文日产| 在线观看视频免费国语| 国产亚洲情侣久久精品| 亚洲AV成人潮喷综合网| 男女拍拍拍免费视频网站| 亚洲AV无码日韩AV无码导航| 午夜精品免费在线观看| 亚洲人成毛片线播放| 夭天干天天做天天免费看| 污网站在线免费观看| 亚洲国产另类久久久精品| 日韩精品久久久久久免费| 亚洲人成在久久综合网站| 韩国免费三片在线视频| 人妻巨大乳hd免费看| 久久亚洲精品成人综合| 国产一卡2卡3卡4卡2021免费观看| 亚洲欧美精品午睡沙发| 亚洲国产精品无码久久九九| a在线免费观看视频| 亚洲一级高清在线中文字幕| 国产美女精品久久久久久久免费| 国产99精品一区二区三区免费 | 亚洲精品制服丝袜四区| 五月婷婷在线免费观看| 国产精品无码亚洲精品2021| 亚洲乱码中文字幕久久孕妇黑人| 亚洲成人免费电影| 特黄aa级毛片免费视频播放| 久久亚洲春色中文字幕久久久|