Drools官網:http://www.jboss.org/drools
Drools and jBPM consist out of several projects:(Drools軟體包提供的幾個部分的功能)
Drools Guvnor (Business Rules Manager) (規則集管理器)
Drools Expert (rule engine) (規則引擎)
jBPM 5 (process/workflow) (工作流)
Drools Fusion (event processing/temporal reasoning) (規則集引擎搜尋與規劃)
Drools Planner (automated planning) (決策表)
-----------------------------------------------------------------------------------------------------------------------
Eclipse3.5安裝Drools5.2.0.Final外掛
到Drools下載頁面(現在是http://www.jboss.org/drools/downloads.html)
-下載並解壓Drools:drools-distribution-5.2.0.Final.zip (解壓目錄隨意)
-下載並解壓外掛:droolsjbpm-tools-distribution-5.2.0.Final.zip(解壓目錄隨意)
- 開啟 Eclipse.
- 點 "Help"—"Install new software..."
- 點選 "Add..."
- 在name中輸入"DroolsLocaluUpdateSite"(名字隨意起)
- 點選 "Local..." 並且選擇"......./binaries/org.drools.updatesite" (此目錄在剛剛解壓的外掛中)
- 點選OK
- 選擇所以外掛。
-下面就是點選next,finish
外掛安裝完後還需在Eclipse中新增Drools的執行環境:
- 點選"Windows"—"Preferencess"
- 在視窗的樹形選單中選擇"Drools"—"Installed Drools Runtimes"
- 在右邊的空的Drools執行庫列表中,點選"Add"
- 在彈出視窗中name輸入DroolsRuntime(隨意起個名字),在Path選擇"......./drools-distribution-5.2.0.Final\drools-distribution-5.2.0.Final\binaries" (此目錄在剛剛解壓的Drools中),
- 點選"OK"
- 點選"OK"
-----------------------------------------------------------------------------------------------------------------------