ApacheCommonsJEXL2.1有什么用

小编给大家分享一下Apache Commons JEXL 2.1有什么用,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

碧江ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为创新互联公司的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:028-86922220(备注:SSL证书合作)期待与您的合作!

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.

以上是“Apache Commons JEXL 2.1有什么用”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注创新互联行业资讯频道!


分享题目:ApacheCommonsJEXL2.1有什么用
浏览地址:http://bzwzjz.com/article/pigjip.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 移动网站建设 网站建设 成都网站建设 定制网站设计 高端网站设计 成都网站制作公司 成都营销网站建设 达州网站设计 成都响应式网站建设 四川成都网站制作 成都网站建设 古蔺网站建设 营销型网站建设 成都网站制作 温江网站设计 成都网站建设 成都网站设计 响应式网站设计 企业网站设计 攀枝花网站设计 盐亭网站设计 网站建设改版