網(wǎng)路冷眼@BlogJava

          熙熙攘攘一閑人 以冷靜的眼光觀察技術(shù)
          posts - 88, comments - 193, trackbacks - 0, articles - 28
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          1.5.4 Implementing a simple book order process (實(shí)現(xiàn)一個(gè)簡單的訂書流程)(下)

          Now point your browser to http://localhost:8080/activiti-explorer and login with the user kermit and the same password. When you click on the link "Unassigned tasks" you should a screen with one user task with the name of "Complete order" like the screenshot shown in figure 1.12.

          現(xiàn)在,請將瀏覽器指向http://localhost:8080/activiti-explorer并以用戶名和密碼均為kermit的方式登錄。當(dāng)點(diǎn)擊鏈接“未分配任務(wù)(Unassigned tasks)是,你應(yīng)該看見如圖1.12所示的“完成訂單(Complete order)”的屏幕顯示。

          clip_image002

          Figure 1.12 A screenshot of the Activiti Explorer showing the user task of the simple book order process.

          圖 1.12 顯示訂書流程用戶任務(wù)的Activiti Explorer的截屏。

          For sake of completeness you can claim the user task and see that it becomes available in the "My tasks" page. There you can complete the tasks, which triggers the process instance to complete to the end state. We can now also take a quick look at the Activiti Probe application to look for this process instance in the Activiti process database table. So go to http://localhost:8080/activiti-probe and login again with the user kermit. Then go to "Database" and the "ACT_HI_PROC_INST" database table as shown in figure 1.13.

          為了完整起見,您可以領(lǐng)取用戶任務(wù),觀察“我的任務(wù)(My Task)”頁面是否可用。一旦您完成任務(wù),這將觸發(fā)流程實(shí)例完成時(shí)結(jié)束狀態(tài)。現(xiàn)在我們可以快速瀏覽Activiti Probe應(yīng)用程序中,觀看Activiti流程數(shù)據(jù)庫表中的流程實(shí)例,所以導(dǎo)航至http://localhost:8080/activiti-probe所以,并以kermit再次登錄。然后切換至“數(shù)據(jù)庫(Database)”和“ACT_HI_PROC_INST”數(shù)據(jù)庫表如圖1.13所示。clip_image002[7]

           

          Figure 1.13 A screenshot of the Activiti Probe application showing the process instance database table, which contains the completed simple book order process.

          圖 1.13 Activiti Probe應(yīng)用的屏幕截屏顯示了流程實(shí)例數(shù)據(jù)庫表,它包括了已完成的訂書流程。

          Activiti Probe provides us with a web view on the database tables of the Activiti engine. In the process instance table you can see information like the start and end time of the process and the name of the last activity.

          Activiti Probe為我們提供了Activiti引擎數(shù)據(jù)庫表的Web視圖。在流程實(shí)例數(shù)據(jù)庫中,您可以觀察流程的起止時(shí)間,以及最后活動(dòng)的名稱。

          This completes our first journey of the Activiti toolstack. In the coming chapters we’ll take a more detailed look at the Activiti toolstack and how to use the Java API of Activiti to for example create processes or retrieve management information. So hold on tight as we are about to expose you to more powerful functionality of BPMN 2.0 and Activiti.

          這就完成了我們Activiti工具棧的首次旅程。后續(xù)章節(jié)將詳細(xì)介紹Activiti工具棧,如何使用Activiti Java API創(chuàng)建流程,或者檢索管理信息。所以,我們將再接再厲,繼續(xù)介紹BPMN 2.0和Activiti強(qiáng)大功能。

          1.6 Summary (小結(jié))

          This chapter was really packed with information! We started with a gentle introduction into business process management and BPM vocabulary. We also saw a bit of history when we talked about WS-BPEL, BPMN 1.x and eventually BPMN 2.0. At that point it was time to take a closer look at the way you can do modeling with BPMN 2.0 and we looked at different categorization strategies of WfMC and Bruce Silver to make BPMN 2.0 understandable and usable for different users.

          本章真的是擠滿了太多的信息!從簡介到到業(yè)務(wù)流程到BPM詞匯。我們也了解了一點(diǎn)WS-BPEL,BPMN 1.x和 BPMN 2.x的歷史。仔細(xì)觀察了BPMN 2.0的建模方法,也了解了WfMC和Bruce Silver的分類策略。這些策略讓BPMN 2.0針對不同用戶更可理解,更可用。

          And finally we got acquainted with the Activiti tool stack and we were able to implement a  simple book order process using a script and user task. And what’s even more interesting,  we were able to start the Activiti process engine, deploy our book order process, start a process instance and do some unit testing on it with just a couple lines of Java code. It’s obvious that Actviti provides us with a powerful API and toolset. In the next chapter you will be introduced in more detail into the different parts of the Activiti tool stack.

          最后,我們熟悉了Activiti工具棧。通過使用腳本任務(wù)和用戶任務(wù),我們能夠?qū)崿F(xiàn)簡單的訂書流程。最有意義的是,我們能夠啟動(dòng)Activiti流程引擎,部署訂書流程,啟動(dòng)一個(gè)簡單的流程實(shí)例,通過數(shù)行代碼完成單元測試。顯然,Activiti給我們提供了強(qiáng)大的API和工具集。下一章,將介紹Activiti工具棧不同部件的詳細(xì)細(xì)節(jié)。


          評論

          # re: Activiti in Action(實(shí)戰(zhàn)Activiti)-第一章 BPMN 2.0: what’s in it for developers?(11)  回復(fù)  更多評論   

          2011-01-08 19:30 by 打底褲
          細(xì)細(xì).了解。博主好啊

          # re: Activiti in Action(實(shí)戰(zhàn)Activiti)-第一章 BPMN 2.0: what’s in it for developers?(11)  回復(fù)  更多評論   

          2011-01-14 18:13 by forge
          博主好人,不知 有 Activiti in Action ebook么

          # re: Activiti in Action(實(shí)戰(zhàn)Activiti)-第一章 BPMN 2.0: what’s in it for developers?(11)  回復(fù)  更多評論   

          2011-01-20 19:18 by 網(wǎng)路冷眼@BlogJava
          @forge
          只有第一章。這本書目前還未寫完.

          # re: Activiti in Action(實(shí)戰(zhàn)Activiti)-第一章 BPMN 2.0: what’s in it for developers?(11)  回復(fù)  更多評論   

          2011-03-02 11:41 by ammy
          太有才了

          # re: Activiti in Action(實(shí)戰(zhàn)Activiti)-第一章 BPMN 2.0: what’s in it for developers?(11)  回復(fù)  更多評論   

          2011-03-02 21:57 by 網(wǎng)路冷眼@BlogJava
          @ammy
          望多交流!

          # re: Activiti in Action(實(shí)戰(zhàn)Activiti)-第一章 BPMN 2.0: what’s in it for developers?(11)  回復(fù)  更多評論   

          2011-07-05 21:25 by 李欣欣
          @網(wǎng)路冷眼@BlogJava,本書的英文版能給我發(fā)一份么我現(xiàn)在正在研究BPMN引擎,這本書我看了很有用,望您能抽空回復(fù),本人郵箱:lixinxinhit@gmail.com

          # re: Activiti in Action(實(shí)戰(zhàn)Activiti)-第一章 BPMN 2.0: what’s in it for developers?(11)  回復(fù)  更多評論   

          2011-12-17 22:18 by fencer
          有沒有Activiti in Action全書,本人也在學(xué)習(xí)工作流,能否發(fā)一份到我的郵箱fencer911@gmail.com

          # re: Activiti in Action(實(shí)戰(zhàn)Activiti)-第一章 BPMN 2.0: what’s in it for developers?(11)[未登錄]  回復(fù)  更多評論   

          2012-02-23 11:03 by bobo
          有合買 這本書的么
          有意 請發(fā)e-mial 標(biāo)題為 "合買 Activiti in Action"
          croczc#yeah.net (# --> @)
          主站蜘蛛池模板: 同仁县| 新密市| 兴城市| 兰考县| 固原市| 桦甸市| 昌黎县| 两当县| 澳门| 乡宁县| 蓬安县| 丹凤县| 白银市| 顺平县| 通江县| 大冶市| 夏邑县| 邹城市| 淳安县| 普兰店市| 房产| 永登县| 周宁县| 邮箱| 岳池县| 宜阳县| 屏边| 金阳县| 句容市| 东乌| 如东县| 体育| 贵溪市| 德格县| 贵德县| 西宁市| 伊吾县| 江油市| 林周县| 玛沁县| 兴海县|