Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
252 views
in Technique[技术] by (71.8m points)

java - Is it mandatory for Drools 7 to run in a separate JVM i.e. a KIE Server which holds the rules?

Is it mandatory for Drools 7 to run in a separate JVM i.e. a KIE Server which holds the rules? Or we can continue to run Drools within the same JVM as the application?

We are migrating an application from older version of Drools where it is all in one JVM and wish to take a least resistance path for the version upgrade.

question from:https://stackoverflow.com/questions/65913243/is-it-mandatory-for-drools-7-to-run-in-a-separate-jvm-i-e-a-kie-server-which-ho

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Drools 7 does not introduce any new restrictions compared to earlier versions of Drools. (I can only personally confirm back through Drools 5.0, however.) So while it does introduce many new capabilities, such as the KIE Server, it hasn't removed support for embedded/local rule execution as was traditionally supported in older versions.

If you refer to the documentation, you can see that they explicitly indicate that you can deploy either to a KIE Server or to an embedded Java application and your own JVM environment.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...