What are the architectures for drools and web application integration?

歲月 : Let me describe the architectures for drools and web applications. The integration architecture can be defined in two main categories a) Drools as embedded in the web application.

Drools的可以被實現為在網絡的內部組件的規則引擎的application.The整個初始化從Web應用程序完成的,因此它在同一JVM中運行作為Web application.So規則引擎是活躍直到JVM是活性。如果我們停止在JVM then規則引擎還將stop.So它們是緊耦合的,彼此也有其自身的缺點.

b) Drools的作為獨立的服務與Web應用程序交互.

Drools的可作為一個獨立的部件 (使用Drools的服務器). 在這種情況下,Web應用程序與Drools的服務器進行交互,以獲得它的服務. 在這裡,組件是松耦合的,因此運行independently.If的JVM停止, 它只是停止Web應用程序,但規則引擎服務器仍然開到即成最大的優勢是相同的規則引擎服務器可以為許多Web應用程序 (客戶).這種類型的體系結構支持的這種架構的application.The主要優點是可擴展性和未來增長

我) 可擴展
二) 松耦合
三) 可維護
IV) 可重複使用的

所以得出的結論是, 最好是使用Drools的作為一個獨立的服務時,我們要與未來的增長前景良好的應用架構. 而對於小型應用,不會增長, 嵌入式結構可用於. 當我們做POC的嵌入式架構是非常有用的 (proof of concept) 或者我們需要一些快速的解決方案.

============================================= ============================================== 在亞馬遜上購買最佳技術書籍,en,電工CT Chestnutelectric,en
============================================== ---------------------------------------------------------------- electrician ct chestnutelectric
error

Enjoy this blog? Please spread the word :)

Follow by Email
LinkedIn
LinkedIn
Share