Take a look at Retroweaver (http://retroweaver.sourceforge.net/). It compiles Java 5 source to JRE 1.4 classes. I remember there being several open-source tools like this but I could not find them with a quick search.

 

I have not used this myself but have plans to integrate it into my build scripts.

--Faron.

 

From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Mark Proctor
Sent: Monday, February 02, 2009 12:23 PM
To: Rules Users List
Subject: Re: [rules-users] Drools 5 m4 in IRAD/Websphere

 

kfs2@chryslerfinancial.com wrote:


Our application is stuck with Websphere 6/jdk 1.4.  I want to use Guvnor for our rule management as we have business users editing rules.  Would it be possible to use drools 4.0.7 compiler in the application which would read the rules from guvnor as source instead of compiled ?  I realize that we would have to avoid rule semantics that are new in drools 5.  Could that work or are we asking for trouble ?

It won't work out of the box. Given enough time and resources you could probably make it work.


My fallback option is to stand up a jboss server as a rules server and make requests to it via webservice calls.  But I was hoping to have tighter integration between our application and the rules engine.

Thanks for any input.  

FYI: we trying to migrate away from our Pega rules engine to drools and I have found drools to be very refreshing in a number of ways.  Thanks for your excellent work.



Mark Proctor <mproctor@codehaus.org>
Sent by: rules-users-bounces@lists.jboss.org

01/23/2009 10:33 AM

Please respond to
Rules Users List <rules-users@lists.jboss.org>

To

Rules Users List <rules-users@lists.jboss.org>

cc

Subject

Re: [rules-users] Drools 5 m4 in IRAD/Websphere

 




kfs2@chryslerfinancial.com wrote:

I've read that Drools is compatible with jdk 1.4 but I get the error below in IRAD 6 which is jdk version:

java version "1.4.2"

Drools 4 is JDK1.4 compatible, Drools 5.0 is JDK1.5+ we do not have plans to backport.
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM Windows 32 build cn142ifx-20060307 (142S

R4-1 + 98226) (JIT enabled: jitc))


I searched the archives but could not find anything about this.  Any suggestions would be appreciated.


The java class could not be loaded. java.lang.UnsupportedClassVersionError: org/drools/event/KnowledgeRuntimeEventManager (Unsupported major.minor version 49.0)


Thanks


Kent



_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
 

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
 


 


 
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users