top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

Updating .drl files using JAVA

+1 vote

I am working on a web application which is using JBPM 5.4 for workflow. The rules for workflow are stored in .drl files. There is a requirement where admin can add new rules to the workflow, this has to be done from UI of our web application only. The modified rules and the new rules have to be updated in the drl file.

How could i update, modify the rules in .drl files using java??

posted May 14, 2013 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

Similar Questions
+3 votes

I am trying to debug a javascript file, which is used in a .jsp file. When I debug the using F12 in IE10 I did not find that particular file in the debugger tool.

Can anybody please tell, why that particular file is not showing even it is present in project folder location?

+2 votes

Need to create separate log files, one for each job triggered via CronTrigger (in Quartz scheduler). Name of the log files to be as per the job name. Is it possible?

0 votes

I am search for different approach.
Let see how many solution i can get

0 votes

Good day, my assignment is similar to this can you help me??? I really dont know what to do.

My professor posted this: Objectives:
- To let the participants experience the use of loops and operators.

Create a Java Application using the class BasicMathOperation. The application will initialize two integer values and display the output:
a. Product without using the multiplication (‘*’) operator.
b. Integer quotient without using the division (‘/’) operator.
c. Integer remainder without using the modulo (‘%’) operator.
d. Take note that inside the whole code, you are NOT allowed to use the ff: operators: ‘*’, ‘/’, and ‘%’.

Save your file as (ie:

Class BasicMathOperation UML Diagram
- operand1 : int
- operand2 : int
+ BasicMathOperation(int num1, int num2)
+ setOperand1(int num1) : void
+ setOperand2(int num2) : void
+ getOperand1() : int
+ getOperand2() : int
//basic methods
+ multiplyUsingLoop() : int
+ divideUsingLoop() : int
+ moduloUsingLoop() : int
Note: To avoid division by zero, the operand2 must have no value of zero. Same is true to modulo by zero, that is, the operand2 must have no value of zero. And this condition must be checked in the methods divideUsingLoop() and moduloUsingLoop(). If this happen, the output is “Error division by zero” or “Error modulo of zero”, respectively. And the program exit using the command System.exit(1).

Useful Links with Similar Problem
Contact Us
+91 9880187415
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.