Drools 与 Cognos

发布于 2024-12-05 20:10:19 字数 186 浏览 0 评论 0原文

我对规则引擎的概念还比较陌生,并且正在尝试与 Drools 合作。

有人以前使用过这个工具吗?它与 Cognos 相似吗?

我的理解是,Cognos 是一个报告工具,而 Drools 将促进对所实施的业务逻辑的更多控制。

我走在正确的轨道上吗?任何可以帮助我区分两者的链接也会有所帮助。

谢谢。

I am relatively new to the concept of rules engines and was trying to work with Drools.

Has anyone already worked this tool before and is it similar to Cognos?

My understanding was that Cognos is a reporting tool and Drools will promote more increased control over the business logic implemented.

Am I on the right track? Any link which would help me differentiate between the 2 would also be helpful.

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

四叶草在未来唯美盛开 2024-12-12 20:10:19

Cognos 是一种商业智能报告工具。它旨在查询数据源(包括数据仓库和数据集市),帮助您深入了解数据并帮助您做出决策、查看趋势等。这是 IBM 的 Cognos 产品页面。这是 来自 Wikipedia 的 Cognos 的定义,我认为它很有帮助。

Drools 是一个基于 Rete 算法的 Java 规则引擎,它允许您在应用程序中定义业务规则,然后根据这些规则验证您的应用程序。这是来自维基百科的定义。这里是 Drools 社区页面

实际上,我们在一些应用程序中使用 Drools 来进行业务规则的客户端验证。我们的业务正计划使用 Cognos(以及另一个名为 QlikView 的工具)对我们的数据仓库和数据集市进行商业智能报告。

至于如何使用 Drools,我会查看社区页面。在我们使用的版本中(2.0-Beta-10,早在 Drools 被 JBoss 收购之前),您通常在基于 XML 的文件中定义规则,并根据我的记忆使用 .drl 扩展名。我们使用旧版本的 Drools,因此从那时起它可能已经发生了变化。我们还在我们的案例中扩展了 Drools,这样我们就可以用 Java 代码编写规则以进行运行时调试,而不是使用 XML 文件(因为我们的业务分析师无论如何都不会编写规则)。

希望这有帮助!

Cognos is a business intelligence reporting tool. It is meant to query over data sources including data warehouses and data marts, to help provide insight into your data and help you make decisions, view trends, etc. Here is IBM's Cognos product page. Here is a definition of Cognos from Wikipedia which I find helpful.

Drools is a Rete algorithm based Java rules engine that allows you to define business rules within your application and then have your application validate against those rules. Here is its definition from Wikipedia. And here is the Drools community page.

We actually use Drools in some of our applications for client side verification of business rules. And our business is planning on using Cognos (and another tool called QlikView) to do business intelligence reporting over our data warehouses and data marts.

As for how you use Drools, I'd look at the community page. In the version we used (2.0-Beta-10, which was way before Drools was acquired by JBoss) you generally define your rules in XML based files with a .drl extension from what I remember. We use an older version of Drools so it may have changed since then. We also extended Drools in our case so we could write our rules in Java code for run time debugging versus using XML files (since our Business analysts weren't writing the rules anyway).

Hope this helps!

∞梦里开花 2024-12-12 20:10:19

您可以使用 Drools & jBPM5(如果您的应用程序将定义业务流程和业务规则)。业务规则将允许您以声明性方式定义业务逻辑,规则引擎将允许您对域中的信息进行推断。访问社区网站并查找示例可能会帮助您了解项目现在的样子以及如何使用它。
干杯

You can use Drools & jBPM5 if your application will define Business Processes and Business Rules. The business rules will allow you to define business logic in a declarative way and the rule engine will allow you to do inferences over the information that you have in your domain. Visiting the community sites and looking for examples will probably help you out to understand how the project look like now and how you can use it.
Cheers

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文