Archive for the ‘Rules for .NET’ Category

Team Update

Thursday, June 18th, 2009

playing-with-fire.jpg

We are getting some nice reviews of BRMS V7.0 and some interesting articles generally. James Taylor has written two very nice pieces on V7 on his JT on EDM blog. James’ deep knowledge of BRMS is evident, because he “just gets it”… :-)

Billy Newport from the IBM WebSphere eXtreme Scale team has also been experimenting with deploying JRules within a fault-tolerant (replicated memory) grid architecture. I’ve never met Billy personally but I feel like I know him well from my days at BEA Systems, and his many posts to theserverside! It’s great to have talented engineers like Billy testing JRules to its limits and experimenting with new eXtreme use cases.

Internally the team has been simultaneously dealing with the last-minute minutiae of getting the release out of the door under IBM’s product release process, and spending some time catching up on new technology. Towards the end of a release the development team enters what we call the “cool down period”, during which we can experiment with any technology that catches the eye. It’s an opportunity to step away from the coal face for a couple of weeks and build some technical proof-of-concepts or catch up with some training. After the rigors of dealing almost essentially with bug fixes for several months it is important for the engineers to stretch their coding muscles again, and get fired-up and creative before we start the NEXT release.

The Product Management team however is very busy at the moment, discussing the core user stories for our next release. Over the coming weeks the developers will be spending a lot of time with the PMs fleshing out the details of the stories, working on estimation, and finally release planning.

And so the wheel turns, and a new release cycle will soon be upon us…

What’s New in BRMS V7.0?

Thursday, April 30th, 2009

ILOG BRMS V7.0 is a major release, and that is probably a major understatement! Based on the foundations of the JRules 6.x architecture, BRMS V7.0 has two major overarching themes: business user empowerment and enabling platform agnostic decision services. Supporting these two themes are a panoply of technical advances across the whole product stack.

The BRMS team has worked incredibly hard over the past 18 months to deliver what is without a doubt the most ambitious release we have attempted since I joined ILOG (my first release was JRules 4.6). As an indication of the work involved, the first construction iteration for BRMS V7.0 started 19th November 2007! Here is a very quick round-up of the major new features. I hope to dive into the details of each of these over the coming days and weeks.

Platform Agnostic Decisions

Rule Team Server Managing Rules for .NET Projects RTS can now host rule projects that will be deployed to the .NET platform. This provides the enterprise with
a unified and platform agnostic rule management environment, that provides governance, reporting and permission management required for successful enterprise deployments.

rts-dotnet.png

Synchronization from Rule Studio for .NET to Rule Team Server To publish rules to Rule Team Server .NET customers can now synchronize their rule projects inside Visual Studio with the RTS rule repository.

rts-syncro-dotnet.png

JRules Linux z & Rule Team Server Linux z Deployment to COBOL applications running on System z is supported from both Rule Studio for Java (based on Eclipse) and the Rule Team Server web environment.

rules-for-cobol.png

Synchronize RuleDocs with Rule Team Server Rule Solutions for Office now supports both JRules and Rules for .NET products, and collections of RuleDocs can be synchronized with Rule Team Server, allowing teams to easily move back and forth between document-based rule management and a centralized rule repository. Rule Team Server can synchronize with RuleDocs hosted on a local file system or accessible via WebDAV.

ruledocs-syncro.png

Decision Validation Services

Rule Team Server and Decision Validation Services The features of the Rule Scenario Manager web console have been improved and merged into the Rule Team Server web interface. Testing and simulation artifacts benefit from the underlying capabilities of the RTS repository, including access control and version management. Line of business users can interactively author rules and run tests or simulations.

rts-test-simulation.png

Storing Scenarios in MS Excel Spreadsheets The persistence of Decision Validation Services scenarios in MS Excel spreadsheets has been greatly improved, resulting in spreadsheets that allow line of business users to more easily manage large numbers of test or simulation scenarios.

excel-scenario.png

Executing Scenarios inside Rule Team Server Line of business users can execute testing scenarios inside Rule Team Server and review the results within the same environment used for managing business rules. Sample input data and expected output data is loaded from MS Excel spreadsheets. Execution reports are stored by the RTS repository and may be accessed for audit or governance purposes.

rts-scenario-exec.png

Business Simulation inside Rule Team Server Business users can run simulations inside RTS to either simulate the effects of changing rules based on historical data or the effects of varying data (such as changes to demographics) on existing rules. Business simulations can use extension points to customize the calculation of Key Performance Indicators, data loaders to access historical data and result renders to provide compelling graphics to summarize the results of executing large data sets.

dvs-simulation.png

custom-kpi.png

Decision Validation Services Customization Technical users can use plugins inside Rule Studio for Java to customize DVS and to annotate the Business Object Model with metadata used for testing. DVS customization tasks have been added to the Rule Project Map inside Rule Studio.

dvs-rpm.png

dvs-format.png

Decision Validation Services Debugging Technical users can execute and debug scenarios inside Rule Studio for Java.

dvs-debug.png

Decision Warehouse JRules Rule Execution Server now has a Decision Warehouse, allowing the details of every rule-based decision to be automatically logged to a database, for example for SOX, HIPAA or Basel II compliance purposes. The decision warehouse can be queried through the RES console and includes all the information required to understand how and why a decision was made. The decision warehouse provides extension points to allow integration with existing analytics databases and 3rd-party business intelligence tools. The decision warehouse may be used as a source of historical data when running business simulations using Decision Validation Services. A reference to a fired rule in a decision trace automatically hyperlinks to the rule within Rule Team Server.

decision-warehouse.png

exec-trace.png

Rule Solutions for Office

Publish RuleDocs, Update Rule Team Server Synchronize Rule Team Server with one or more RuleDocs, stored on the file system or in a WebDAV accessible repository. Use RTS queries to select the rules to publish.
Edit Decision Tables using MS Excel 2007 Easy to use for line of business users thanks to decision table specific buttons in the ribbon bar and comprehensive error checking, preview and validation. Metadata for the decision table can be edited using the panel to the right of the screen.

edit-dt-excel.png

Edit Business Rules using MS Word 2007 Free text editing of business rules within MS Word, that feels like editing a normal text document, but benefits from error checking and a prediction menu to guide the business user and ensure that rules are syntactically correct. Use a vocabulary view to browse the business vocabulary and a properties panel to edit metadata. Documents can mix executable business rules and free text documentation and supporting graphics.

edit-rules-word.png

Business User Empowerment

Decision Table Templates Decision Table Templates can be used inside Rule Studio for Java and Rule Team Server to constrain the use of an instance of a Decision Table.

dt-templates.png

dt-template-rts.png

Rule Team Server Quick Edit Use the Quick Edit button in Rule Team Server to quickly edit the contents of an artifact inline, with a single click.

rts-quick-edit.png

Static Analysis Improvements We are introducing constrained semantic queries on method phrases. Previously queries were only on attributes,
now you can find all the rules which approves a credit greater than an amount, where the amount is set by a method. For example:
find all rules with a credit > given amount will find instances in which amount is implemented by a method call.

Analyze ruleflow runtime rule selection (dynamic select) in consistency checking: previously, dynamic select was not considered when evaluating ‘may apply when’ or ‘may become applicable when’.

Data space coverage analysis: detects gaps in rule coverage of a data space, and proposes rules to fill the gaps. It is available in Rule Studio, in a new dedicated Rule Analysis view.

Impact analysis queries: you can now create a query to find all rules that may trigger another rule or be triggered by another rule. This is available both in Rule Studio for Java and Rule Team Server (JRules projects only).

sa-impact-query.png

Rule Team Server HTML Reports HTML reports in Rule Team Server have been re-implemented to provide more business user friendly and useable reports, that include a table of contents, better hyperlinking and styling.

rts-html-reporting.png

Rule Team Server Excel Reports Rule Team Server now provides MS Excel format reports, useful to review the metadata for rule artifacts.

rts-excel-rules.png

rts-excel-ruleflow.png

Rule Studio for Java

BOM Update View A new view dedicated to reconciling differences between the Business Object Model and the Executable Object Model is provided. The view displays all differences and proposes actions that are applicable to resolve them. Classes that are imported from the XOM many been automatically verbalized.
Rule Analysis View The new Rule Analysis View is used to interactively perform static rule analysis within Rule Studio for Java.

Enhanced Ruleflow Editor The ruleflow editor has been rewritten to provide improved usability and to integrate with the Eclipse property sheet.

rs4j-ruleflow.png

Platform Support

Support for New Application Servers
  • IBM WebSphere Application Server V7.0
  • JBoss 5.0
  • Oracle 10g Release 3 (10.1.3.1)
Support for New Databases
  • IBM DB2 9.5
  • IBM DB2 5.4 for i/Series
  • Oracle 11g
  • Sybase 15
  • Apache Derby 10.4

BRMS Tech TV

Thursday, April 30th, 2009

A number of us have been working on videos and have posted them previously on this blog. Now they are readily available and organized on the BRMS Resource Center:  BRMS Tech TV .  Videos are currently organized into two categories:

1) The “BRMS Basic” area provides introductory videos on product features and walkthroughs for key BRMS tasks like “creating a rule flow” and “writing a scoring rule”.
2) The “Developers and Architects Topics” provides insights from BRMS experts on various technical and architectural topics.

All the videos are available on YouTube, but some can also be found through Dailymotion, which offers high-definition videos offering a clearer view of the presentations.

We will keep adding new ones and we would value your feedback and suggestions.

Posted on behalf of the IBM ILOG BRMS Team

Teaser Screenshots of ILOG BRMS V7.0

Wednesday, April 29th, 2009

Here is a selection of “teaser” screenshots from the new release… More details to come!

rts-login.png rts-explorer.png res-console.png

IBM WebSphere ILOG BRMS V7.0

Wednesday, April 29th, 2009

ws_brand64.png

The next major release of ILOG’s BRMS products has been announced, now under the “IBM WebSphere ILOG” brand. As they say on the Internet, w00t! Electronic delivery is planned for June 26th.

Here are the new names for the products along with a short description:

IBM WebSphere ILOG JRules V7.0 delivers Rule Studio for Java™, a developer tool for creating rule-based decision services, and for integrating business rules into any Java application or architecture, and Rule Execution Server for Java, which provides execution and services provisioning for those decision services on major J2EE application servers.

IBM WebSphere ILOG Rules for .NET V7.0 delivers Rule Studio for .NET, a developer tool for creating rule-based decision services, and for integrating business rules into any .NET application or architecture, and Rule Execution Server for .NET, which provides execution and services provisioning for those decision services.

IBM WebSphere ILOG Rule Team Server V7.0 delivers an enterprise rule repository and line of business user tools for authoring, managing, and deploying business rule-based decisions. It supports projects initially created by either Rule Studio for Java or Rule Studio for .NET, and deployment to either Rule Execution Server for Java or Rule Execution Server for .NET. Not all features are enabled for .NET projects. WebSphere ILOG Rule Team Server installs on major J2EE application servers.

IBM WebSphere ILOG Rule Team Server for .NET V7.0 delivers an enterprise rule repository and line-of-business (LOB) user tools for authoring, managing, and deploying business rule-based decisions. It supports projects initially created by either Rule Studio for Java or Rule Studio for .NET, and deployment to either Rule Execution Server for Java or Rule Execution Server for .NET. Not all features are enabled for .NET projects. IBM WebSphere ILOG Rule Team Server for .NET installs on Microsoft® Windows® systems with Active Directory and SQL Server, using a Java capability embedded in the package.

IBM WebSphere ILOG Rule Solutions for Office V7.0 is a line of business user-accessible rule authoring plug-in for Microsoft Word 2007 and Microsoft Excel 2007.

IBM WebSphere ILOG Decision Validation Services V7.0 extends ILOG Rule Team Server and its variants with line-of-business focused testing and simulation capabilities for Java-based projects. IBM WebSphere ILOG Decision Validation Services installs onto any Rule Team Server installation.

It has been a bit of a slog getting the products compliant with IBM’s Passport Advantage sales channel but all the hard work has been worth it. Now that the products are announced I can start to explain all the cool new features on the blog…

Favorable Review

Tuesday, April 28th, 2009

Andrew Siemer gave ILOG Rules for .NET a favorable review on his blog.  You can read it by clicking here.   I also recommend the QuickStart guide first.

Cheers!

Chris Berg

Keeping Decision and Processes Separate

Thursday, April 16th, 2009

James Taylor has kicked this perennial anthill again and I felt compelled to chip in. What are your experiences, out there in the so-called “real world”? Are you seduced by the engineering “fusion” of BPM and rules or do you think it ignores some of the business and people aspects of managing business rules and processes?

NUnit and Rules for .NET

Monday, April 13th, 2009

I have been talking to lots of people lately about how to integrate NUnit with Rules for .NET for the purpose of doing regression testing with rulesets.  I will be following up shortly with some concrete examples of how to do this.  In the interim, I am intersted in what you have done on your end.  Please post a comment that describes your solution and how it is used.

Chris Berg

More BRMS Videos

Friday, March 20th, 2009

Various ILOGers are putting up some very interesting videos on JRules and Rules for .NET. Try these web searches for example:

Product Support

Thursday, February 19th, 2009

support.jpeg

Hats off to the business rules support team!

This morning the email below caught my eye, as it typifies the high-quality diagnostic work of the support team. Jun is helping troubleshoot an out of memory issue with Rule Team Server. A key component of the success of JRules is the ability to support customers and engineers in the field, and filing high-quality (actionable) bug reports for R&D when necessary.

In my previous email I gave some suggestions based on the information we received. What kind of diagnostic steps have been taken on the customer’s side? Do you have any additional findings?

The server logs alone are not sufficient for us to draw any conclusions.
In order to effectively diagnose the problem, we must first obtain as much background information as possible.
What we need to determine is whether the OOM is caused by a memory leak or a lack of resources given the current load.
We can start by addressing the following:

  1. What is the current heap size?
  2. Does increasing the heap size help avoiding the problem?
  3. What is the size of the rule project? e.g. number of rule artifacts, decision tables, variables, dependencies, etc.
  4. From the server logs, as I pointed out earlier, there are NullPointerException and ConcurrentModificationException preceding the OOM. Is it always the case that OOM follows these particular errors?
  5. What type of activity leads to the NPE, CME or OOM? Do you have steps to reproduce these errors? Can you provide sample projects along with the steps that would allow us to replicate the problem?
  6. Do you see any evidence indicating a possible memory leak? If so, do you have any profiling data that you can share with us? An indication of a memory leak would be increasing memory utilization over time that is not released and collected by the GC and inconsistent with the load requirements.
  7. Are there any customizations done on the RTS?
  8. Do you observe any memory fragmentation from the heap dump?
    The following link introduces a troubleshooting tool for OOM, provided by IBM. This could provide a good starting point for diagnostics on your customer’s side.

Besides the questions above, please share with us any additional findings/observations you have made. As soon as we have these information, we will be able to move forward with the investigation and provide possible lead.

Sincerely,

Jun Wang