Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the use of Apache Commons JEXL 2.1?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you what is the use of Apache Commons JEXL 2.1, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Java Expression Language (JEXL) is an expression language engine that can be used in applications or frameworks. JEXL is influenced by Velocity and JSP tag library 1. 1 (JSTL). It is important to note that JEXL does not implement the expression language in JSTL from time to time.

Commons JEXL 2.1has been released, which is binary compatible with 2.0.1, but the source code is not compatible because two new interfaces have been added:

◆ org.apache.commons.jexl2.Script

◆ org.apache.commons.jexl2.JexlInfo

JEXL 2.1improvements:

=

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.

The above is all the content of this article "what's the use of Apache Commons JEXL 2.1". Thank you for reading it! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report