|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Step-by-step guide to use BRM (Business Rules Management) using Java Classes
By Venkata Phaneendra Garimella, Yash Technologies
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
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.
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.
Click on OK and the Rules Composer perspective will open.
Now we need to create a new project, for which we should go
Project, there we
need to select Rules Composer, under that Rules Composer Development Component.
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 [demo.sap.com], choose Next,
and in the appearing screen give the name to the project, in my example it travelrules.
In the Project
Explorer the created project is
shown as below:
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:
Project, and select Development Component under Development Infrastructure node,
choose next in the screen that appears
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 [demo.sap.com].
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.
The created Web Module will look like the following.
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.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards