Step-by-step guide to use BRM (Business Rules Management) using Java Classes

By Venkata Phaneendra Garimella, Yash Technologies

BRM Introduction:  

Before we move on to BRM, first we will talk about Business Rules – Business Rules describe the policies or constraints which define any business decision of an organization. To explain it further, business rules represent the core business logic of each organization; they guide and control the basic business processes that form the backbone of any business transaction.  

BRM Definition:

“Business rules management (BRM) is a management discipline helps business organizations standardize and optimize their business rules in order to achieve greater visibility, centralization and consistency in key business decisions.”

Software Requirements                          

Ø       Your SAP NetWeaver Developer Studio, includes the Rules Composer perspective

Ø       You should have a SAP AS, and should have configured the SAP NetWeaver Developer Studio with this instance.  

Step’s Involved  

  1. First of  all we need to create a Rules Composer Development Component
  2. Next is to create a Web module  to define the variable and UIs
  3. Finally we need to create an EAR project which we need to deploy to the server, which has reference to the Web Module.         

Creating Rules Composer:  

In order to go with BRM we have to define rules in the Rules Composer perspective. To open the Rules Composer perspective, go to Windowà Open Perspective à Other and then select the Rules Composer option in the opened dialog box.

Fig 1.  

Fig 2.  

Click on OK and the Rules Composer perspective will open.  

Now we need to create a new project, for which we should go to Newà Project, there we need to select Rules Composer, under that Rules Composer Development Component.  

Fig 3.  

Choose Next and the following screen will appear where we need select the software component where we want to create our Development Component. In our Example it is Local Development, under that My Components [], choose Next, and in the appearing screen give the name to the project, in my example it travelrules.  

Fig 4.

Choose Finish.  

 In the Project Explorer the created project is shown as below:  

Fig 5.  

Creating Web Module:  

Before going for the rules definition we have to define the variables, which we are going to use while defining the rules, for this we need to create a web module under which we have to define the classes and JSPs.  

For this we have to create a new project as:  

File àNew à Project, and select Development Component under Development Infrastructure node, choose next in the screen that appears  

Fig 6.  

In the next page that appears, expand J2EE node under that select Web module and choose Next and save it under Local Development à My Components [].  

Fig 7.  

After choosing the web module as our new Development Component, choose Next and in the following screen give the name as travelrules_web (to identify it as web module) and choose Finish.

Fig 8.  

The created Web Module will look like the following.

Fig 9.  

We need to create a java class under the web module which we have created, in order for the creating, expand travelrules_web node and in the context menu of Java Resources: source node, choose New > Class.  

Click here to continue...


Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image