This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can JBoss Rules be of any use?

 
Dhanya Palanisamy
Ranch Hand
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 105
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 344
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Dhanya Palanisamy
Ranch Hand
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 105
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 105
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 105
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic