Tuesday, March 1, 2011

Metawidget and Drools

Blogger Sergiy has put together a terrific example of integrating Metawidget with JBoss Drools.

He uses Metawidget to render a Drools ViewDefiniton for use in a weather forecasting application. To quote:

"One of the key aspects of Metawidget is its concept of inspectors that are responsible for extracting meaningful metadata from business objects. Metawidget comes with a number of default inspectors that allow extracting metadata based on Java reflection, annotations, etc. But what if we want something special? :)

For instance, how about using business rules as the source of meaningful metadata for a UI?"

He then describes in detail the steps necessary to create an application like this:

Read the full blog post here.

Thanks Sergiy!