Hello. I'm not absolutely sure I have understood well how it works.
Does Drools translate DRL files in java source files, and then compile them using a javac compiler ? Or is there another kind of dynamic interpreter that just shares the java language syntax, in case of this semantic is used ? What are the technical impacts, for instance in use cases inside J2EE plaforms (EJB specifications come with many programming restrictions), or when a simple JRE is available (embedded systems for example) ? Thanks. -- Ephemeris Lappis -----Message d'origine----- De : Mark Proctor [mailto:[EMAIL PROTECTED] Envoyé : vendredi 20 janvier 2006 04:20 À : [email protected] Objet : Re: [drools-user] [Drools][5.2.1] JDKs support in rules expression Drools 2.1 uses Janino, which is jdk1.4. Drools 2.5 can use either Eclipse JDT (default) or janino. Eclipse JDT works fine with JDK1.5 Mar Ephemeris Lappis wrote: > Hello. > > > > I've already successfully checked that Drools supports JDK 1.5 at runtime > for the java code that calls it. > > But it seems the code snippets in rules expression are rejected if some JDK > 1.5 features, like the new for loops, are used. > > > > Could somebody confirm that ? > > Or is there a way to make Drools compile JDK 1.5 rules ? > > > > Thanks. > > > > -- > > Ephemeris Lappis > > > > >
