Apache Commons JEXL 2.1 发布

开发 后端
Java Expression Language (JEXL) 是一个表达式语言引擎,可以用来在应用或者框架中使用。JEXL 受Velocity 和 JSP 标签库 1.1 (JSTL) 的影响而产生的。

Java Expression Language (JEXL) 是一个表达式语言引擎,可以用来在应用或者框架中使用。JEXL 受Velocity 和 JSP 标签库 1.1 (JSTL) 的影响而产生的。需要注意的是, JEXL 并不时 JSTL 中的表达式语言的实现。

Commons JEXL 2.1 发布了,该版本和 2.0.1 是二进制兼容的,但源码不兼容,因为新增了两个接口:

◆  org.apache.commons.jexl2.Script

◆ org.apache.commons.jexl2.JexlInfo

JEXL 2.1 改进内容:

==================

1. A more thorough arithmetic (JexlArithmetic) that allows fine control over decimals (scale and precision), a new syntax for numeric literals (OGNL inspired Big and Huge notations) and a better type handling keeping the most appropriate representation in casual operations.

2. The introduction of script variables and parameters that reduce context dependencies and methods; this allows to perform checks after script creation (light static checking hints). Plus the ability to call script from scripts.

3. A sandoxing feature to restrict and rename what JEXL can access from the environment allowing tighter control over security.

4. Extensions to UnifiedJEXL that allow the creation of templates.

完整记录请看:

http://commons.apache.org/jexl/changes-report.html#a2.1

原文链接:http://www.open-open.com/news/view/121c31f

【编辑推荐】

  1. Apache UIMA Java SDK 2.4.0 发布 附下载
  2. Play 1.2.4 发布 支持Java7
  3. Argparse4j 0.2 发布 Java命令行解析库
  4. Sanaware Java Docking 1.5.0 发布 附下载
  5. JavaMelody 1.33.0 发布 Java应用监控

 

责任编辑:林师授 来源: open资讯
相关推荐

2011-12-15 09:13:11

Digesterjavaxml

2015-11-11 13:45:42

Apache工具集

2019-05-07 11:02:55

Java开发代码

2012-04-27 10:17:50

JavaJavaFX

2009-12-01 11:04:57

Android 2.1

2009-06-19 13:48:34

GlassFish E

2011-02-25 11:13:22

JavaScriptWebStorm

2011-04-07 09:06:31

Tomcat

2011-01-24 14:34:12

webOS

2010-01-13 17:41:40

Android 2.1

2010-06-11 09:46:36

Java框架DataNucleusJDO

2012-05-18 15:52:49

JavaApacheTomcat

2012-05-28 09:23:40

JavaHadoopApache

2011-03-21 13:52:30

下载webOS SDKwebOS 2.1

2017-02-27 16:43:34

Golang多线程编程

2009-06-16 09:50:16

JS.Class 2.

2012-03-01 09:42:21

JavaApache Whir

2011-12-07 10:34:29

JavaTomcat

2011-12-26 09:10:46

Java

2012-03-15 16:59:12

JavaMaven
点赞
收藏

51CTO技术栈公众号