aspose file tools*
The moose likes JBoss/WildFly and the fly likes Can JBoss Rules be of any use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Can JBoss Rules be of any use?" Watch "Can JBoss Rules be of any use?" New topic
Author

Can JBoss Rules be of any use?

Dhanya Palanisamy
Ranch Hand

Joined: Oct 20, 2006
Posts: 61
Hi everyone,

I have a scenario where an end user is expected to enter some formulas for price computation and it should be saved. The formulas contain if, else statements . Also the formulas may change in the future. Can JBOSS Rules engine can be used here? I dont have any knowledge about it. Please if any one got any idea for this problem it will be very helpful to me.

Regards,
Dhanya
Naveen K Garg
Ranch Hand

Joined: Nov 28, 2005
Posts: 105
Hi Dhanya,

Yes, you can use JBoss Rules for the purpose.

Just check JBoss Rules documentation for more clarity.

Regards
Naveen
Dhanya Palanisamy
Ranch Hand

Joined: Oct 20, 2006
Posts: 61
Hi Naveen,

Thanks for the reply. Is there any GUI for that? Like where an user can enter formulas and conditions. Is there some other strategy for my problem?
Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
Hi,

I am also new to JBoss Rule and trying out some example.
JBoss Rules 3.0- Drools have an IDE which can be configured in Eclipse and it also some examples to start with. Please go thru' the manual:

For Manual:
http://labs.jboss.com/portal/jbossrules/docs/index.html

For Downloading IDE / Example:
http://labs.jboss.com/portal/jbossrules/downloads

For Live Trails:
http://labs.jboss.com/portal/jbossrules/livetrails/index.html

May be this is useful to you..


Micheal John
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
Dhanya Palanisamy
Ranch Hand

Joined: Oct 20, 2006
Posts: 61
Hi Michael,

I have eclipse 3.2 and whils building a rules project it gives me an error.
java.lang.UnsupportedClassVersionError: org/drools/RuleBase (Unsupported major.minor version 49.0)

Please help me to solve this, my sdk is j2sdk1.4.2_13
Naveen K Garg
Ranch Hand

Joined: Nov 28, 2005
Posts: 105
Hi Dhanya,

You need to install JDK 5.0 (J2SDK 1.5) as Eclipse 3.2 and latest release of JBoss Rules both requires the same.

You can download it from here. click on third donwload button.

Hope this help.

Regards
Naveen
Dhanya Palanisamy
Ranch Hand

Joined: Oct 20, 2006
Posts: 61
Thanks Naveen. I have downloaded jboss rules-3.0.5 src and when i give this command
ant manual
it says BUILD FAILED due to some error in documentation/manual/build.xml.
Have you encountered any such problems. I am downloading java 5.0 now. Will install that and check.
Naveen K Garg
Ranch Hand

Joined: Nov 28, 2005
Posts: 105
No. I have downloaded the compiled jar of JBoss Rule.

I am not sure but I think there must be some kind of readme or document in the JBoss Rules Source download file. This file should contains all the instruction in order to compile the source.

Let me know if this helps.

Regards
Naveen
Dhanya Palanisamy
Ranch Hand

Joined: Oct 20, 2006
Posts: 61
Hi Naveen,

That also didn't help. I am struggling for more than a week now. Did you follow the instructions from this link?
http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.5/html_single/index.html#d0e899

The src folder does not contain all the files as shown in the steps. Can you please tell me the steps?

Thank you.
Naveen K Garg
Ranch Hand

Joined: Nov 28, 2005
Posts: 105
Hi Dhanya,

Well, I have not tried the building manual using JBoss Rule Source. May be you can post your problem in the JBoss Rules Mailing list.

As a other alternative you can download the JBoss Rules Binary along with Eclipse Workbench.

I am sorry, due to my current workload I am unable to spend more time on it.

Regards
Naveen
Dhanya Palanisamy
Ranch Hand

Joined: Oct 20, 2006
Posts: 61
thanks a lot Naveen. Reply when you are free.I have the files with me, i dont know how to install that. I added that ide jar file inside eclipse3.2 plugin, What to do about jboss rules jars?, am confused.
 
jQuery in Action, 2nd edition
 
subject: Can JBoss Rules be of any use?