Dan Allen answered my question for the most part in response to a comment on a blog:
4 | Posted by Dan Allen on December 09, 2009 at 03:13 PM EST
The EL implementation in GlassFish is not a drop in replacement for JBoss EL. What they share is the parametrized EL syntax (they can be value expressions or method expressions). What you do not get is projections and magic methods (like .size on a collection).
Note that the version of EL you need to get parametrized EL syntax is 2.2. The artifacts are org.glassfish.web.el-api:2.2 and org.glassfish.web.el-impl:2.2.
Thanks Scott. Correct, they are not drop in replacements. JBoss EL was the prototype for the changes in EL 2.2. The spec document for EL 2.2 was just updated yesterday (click
for evaluationto get the document).
Now we are left to decide what to do with JBoss EL. Either we can try to align it with EL 2.2 or we can switch to EL 2.2 RI and then add the enhancements to Seam. I think #2 is the right approach. That way, we aren't left having to maintain EL, which really isn't what us Seam developers want to be doing.