Be the first to like this
This work has been presented in RuleML Symposium held in conjunction with ECAI 2012, the 20th biennial European Conference on Artificial Intelligence , in Montpellier;
The goal of this work is to identify and extract the business logic (expressed as a set of business rules) within a Java application.
We use as running example a small application representing the predator-prey problem. The application simulates the behaviour of animals (foxes, rabbits, birds) and humans (hunters) in a meadow,
where each actor animal or human can act and move according to its nature.
Two different functionalities are implemented in this application: one represents the business logic and describes how predator-prey interactions affect population sizes. The second one is used to store statistical information about the actors
participating in the simulation.
The business rule extraction process is based on MDE and it's composed by four activities:
Model Discovery -> to pass from the source code to a model representation), it uses the discovery component of Modisco (http://www.eclipse.org/MoDisco/)
Variable Classification -> to identify the domain variables and the container classes
Business Rule Identification -> to isolate the part of code related to the variables identified in the previous step
Business Rule Representation -> to present the extracted BRs using graphs or textual representations.