Inkfish translation, do not reprint the commercial nature, reproduced please indicate the source (http://blog.csdn.net/inkfish). This article is I study juel at the same time, to the original website carries on the simple translation, the original website address: http://juel.sourceforge.net/
Juel is an implementation of the unified Expression language (Unified Expression Language, EL), part of the JSP 2.1 standard (JSR-245), already part of Java EE 5, and Juel 2.2 implements the JSP 2.2 Row edition, fully compatible with the Java EE 6 specification. (Source: Http://blog.csdn.net/inkfish)
motives
Since El as part of the Jstl, El has become part of the JSP 2.0 standard. But now, in JSP 2.1, the EL API has been detached into the Javax.el package, and all of the JSP core packages have been removed from dependency.
In other words: El can already be used in non-JSP applications. (Source: Http://blog.csdn.net/inkfish)
characteristic
Juel provides a lightweight and efficient implementation of the unified expression language.
* High performance-parsing expressions is certainly a bottleneck in performance. Juel is parsed using handwritten code, which is 10 times times faster than the parser that was used before (JAVACC). Once compiled, the expression tree will run at a high speed.
* Plug-in caching-even if the Juel parser is fast, analytic expressions are relatively expensive in terms of resource consumption. Therefore, the best approach is to parse only the expression string once. Juel The default caching mechanism, which in most cases is sufficient for use. Even so, Juel allows you to use your own cache as easily as plug-ins.
* Small volume--juel are carefully designed to minimize code size and memory usage.
* Method calls--juel support method calls, such as ${foo.matches (' [0-9]+ ')}. Using the parsing mechanism of EL, methods are parsed and invoked. In Juel 2.2, the method invocation attribute is opened by default.
* Multi-parameter invocation--juel supports the use of multiple parameters in Java 5 functions and method invocations, such as binding String.Format (String, String ...) in the Format function, allowing this to be used: ${format (' Hey%s ', ' Joe ' )} 。 In Juel 2.2, the Multi-parameter attribute is turned on by default.
* Pluggable--juel can be configured to automatically detect the implementation of El in either the Java operating environment or the JEE application server. Using Juel does not require applying explicit references to classes that are specific to Juel implementations. (Source: Http://blog.csdn.net/inkfish)
State
Juel is considered to have product-level stability, the code is well tested (80% coverage), and all features are implemented. (Source: Http://blog.csdn.net/inkfish)
Availability of
Juel uses the Apache 2.0 license agreement. (Source: Http://blog.csdn.net/inkfish)
Run requirements
Juel to run an environment that requires Java 5 or update. (Source: Http://blog.csdn.net/inkfish)