Re: [rules-users] Janino vs. Eclipse

2007-02-20 Thread Mark Proctor

Dirk,

If you aren't sure, just stick with the Eclipse JDT one. If you have 
problems with that switch to Janino. Both are embedded jars. Janino is 
jdk1.4 only, Eclipse does jdk1.5.


Mark
Dirk Bergstrom wrote:

I do not understand the difference between the Janino and Eclipse options for
rules compilation.  The documentation only says that there are two options, and
the javadocs don't really go any further.  Can someone provide more detail?

My questions include:

*) Why would I prefer one over the other?

*) What are the advantages and disadvantages of each?

*) In what situations is it necessary to use Janino?  Which ones require 
Eclipse?

*) Can I use the Eclipse compiler if I'm building rules outside of Eclipse (eg.
dynamically generated rules in a web application)?

*) I've read that the Eclipse compiler provides some sort of Java 1.5
compatibility/autoboxing/mumble-mumble.  What's that about?

I'll try to put the answers together into something that can be added to the
manual (as soon as the manual is again buildable, see
http://jira.jboss.com/jira/browse/JBRULES-672).

Thanks.

  


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


Re: [rules-users] Janino vs. Eclipse

2007-02-20 Thread Dirk Bergstrom
Marcus Ilgner was heard to exclaim, On 02/20/07 12:34:
> The biggest difference would be that Janino does not support language
> level 1.5.

That was a big factor for me, but I understood that "Eclipse" was only usable if
you were generating static rules (in the IDE) for later deployment.  Now I'm not
so sure...

-- 
Dirk Bergstrom   [EMAIL PROTECTED]
_
Juniper Networks Inc.,  Computer Geek
Tel: 408.745.3182   Fax: 408.745.8905
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Janino vs. Eclipse

2007-02-20 Thread Marcus Ilgner

On 2/20/07, Dirk Bergstrom <[EMAIL PROTECTED]> wrote:

I do not understand the difference between the Janino and Eclipse options for
rules compilation.  The documentation only says that there are two options, and
the javadocs don't really go any further.  Can someone provide more detail?

My questions include:

*) Why would I prefer one over the other?

*) What are the advantages and disadvantages of each?

*) In what situations is it necessary to use Janino?  Which ones require 
Eclipse?

*) Can I use the Eclipse compiler if I'm building rules outside of Eclipse (eg.
dynamically generated rules in a web application)?

*) I've read that the Eclipse compiler provides some sort of Java 1.5
compatibility/autoboxing/mumble-mumble.  What's that about?

I'll try to put the answers together into something that can be added to the
manual (as soon as the manual is again buildable, see
http://jira.jboss.com/jira/browse/JBRULES-672).

Thanks.

--
Dirk Bergstrom   [EMAIL PROTECTED]
_
Juniper Networks Inc.,  Computer Geek
Tel: 408.745.3182   Fax: 408.745.8905
___


The biggest difference would be that Janino does not support language
level 1.5. That's definetely a reason to use Eclipse, for me. Beyond
that, I really did not investigate, either.

Greetings
Marcus
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users