I spent last evening comparing EL options for the iB3 dynamic (and otherwise
actually) SQL tags.  I've decided to go with a repackaged version of OGNL
2.6.9 (org.apache.ibatis.ognl).  My reasoning is as follows:

  * It uses an Apache like license that allows the flexibility for us to
repackage it so that we can avoid dependency issues (JAR hell).
  * It has the nicest syntax, the simplest API and surprising performance
(it runs its own 500+ unit tests in 0.5 seconds).
  * It's exactly what we need.

The runner up is MVEL, which is also excellent and uses the Apache 2.0
license.  In the end the difference is only that OGNL is older, more proven
and better known.

Ones I tried and decided against...

  * Commons EL -- really disappointing.
  * OGNL 2.6.9++ -- are OpenSymphony, which has a friendly license, but I'm
not sure about repackaging the way we'd like.
  * EL-API/RI -- No.  Just no.
  * JEXL -- Velocity, meh.

Comments welcome.

Clinton

Reply via email to