網路冷眼@BlogJava

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

          1.5.4 Implementing a simple book order process (實現一個簡單的訂書流程)(下)

          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.

          現在,請將瀏覽器指向http://localhost:8080/activiti-explorer并以用戶名和密碼均為kermit的方式登錄。當點擊鏈接“未分配任務(Unassigned tasks)是,你應該看見如圖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 顯示訂書流程用戶任務的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.

          為了完整起見,您可以領取用戶任務,觀察“我的任務(My Task)”頁面是否可用。一旦您完成任務,這將觸發流程實例完成時結束狀態。現在我們可以快速瀏覽Activiti Probe應用程序中,觀看Activiti流程數據庫表中的流程實例,所以導航至http://localhost:8080/activiti-probe所以,并以kermit再次登錄。然后切換至“數據庫(Database)”和“ACT_HI_PROC_INST”數據庫表如圖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應用的屏幕截屏顯示了流程實例數據庫表,它包括了已完成的訂書流程。

          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引擎數據庫表的Web視圖。在流程實例數據庫中,您可以觀察流程的起止時間,以及最后活動的名稱。

          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工具棧的首次旅程。后續章節將詳細介紹Activiti工具棧,如何使用Activiti Java API創建流程,或者檢索管理信息。所以,我們將再接再厲,繼續介紹BPMN 2.0和Activiti強大功能。

          1.6 Summary (小結)

          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.

          本章真的是擠滿了太多的信息!從簡介到到業務流程到BPM詞匯。我們也了解了一點WS-BPEL,BPMN 1.x和 BPMN 2.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工具棧。通過使用腳本任務和用戶任務,我們能夠實現簡單的訂書流程。最有意義的是,我們能夠啟動Activiti流程引擎,部署訂書流程,啟動一個簡單的流程實例,通過數行代碼完成單元測試。顯然,Activiti給我們提供了強大的API和工具集。下一章,將介紹Activiti工具棧不同部件的詳細細節。


          評論

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          2012-02-23 11:03 by bobo
          有合買 這本書的么
          有意 請發e-mial 標題為 "合買 Activiti in Action"
          croczc#yeah.net (# --> @)
          主站蜘蛛池模板: 长岛县| 恩施市| 濮阳县| SHOW| 尼木县| 遂溪县| 广平县| 文山县| 滦南县| 宜宾县| 嘉峪关市| 于都县| 梁山县| 乡宁县| 九台市| 博爱县| 黎川县| 五台县| 盖州市| 泰兴市| 沽源县| 盘锦市| 邛崃市| 新兴县| 平阴县| 兴国县| 金塔县| 汉源县| 辽中县| 定结县| 怀化市| 饶河县| 甘谷县| 建瓯市| 巴彦淖尔市| 长岛县| 孝义市| 西华县| 伊宁市| 前郭尔| 沁水县|