Linux SoftwareProgrammingLibrariesJava Unified Expression Language 2.1.0 RC3

Java Unified Expression Language 2.1.0 RC3



Developer:   Christoph Beck
      more software by author →
Price:  0.00
License:   The Apache License 2.0
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Java Unified Expression Language is an implementation of the unified expression language (EL) as specified by the JSP 2.1 standard (JSR-245).

The javax.el.ExpressionFactory implementation is de.odysseus.el.ExpressionFactoryImpl:

// create an expression factory
javax.el.ExpressionFactory factory = new de.odysseus.el.ExpressionFactoryImpl();
Package de.odysseus.el.util provides ready-to-use subclasses of javax.el.ELContext and javax.el.ELResolver:

// create a simple EL context
de.odysseus.el.util.SimpleContext context =
new de.odysseus.el.util.SimpleContext(new de.odysseus.el.util.SimpleResolver());

// define function math:max(int,int)
context.setFunction("math", "max", Math.class.getMethod("max", new Class[]{int.class, int.class}));

// define variable "foo"
context.setVariable("foo", factory.createValueExpression(0, null));

// create expression
javax.el.ValueExpression e = factory.createValueExpression(context, "${math:max(foo,bar)}", null);

// set value for top-level property "bar"
context.setValue(null, "bar", 1);

// evaluate expression...
System.out.println(e.getValue(context)); // --> 1

The JUEL jar may be run from the command line to dump the parse tree of an EL expression:

$ java -jar juel-2.1.x.jar "#{unified(expression[language])}"
+- #{...}
|
+- unified(...)
|
+- [...]
|
+- expression
|
+- language

What's New in This Release:
  • ListELResolver was missing in SimpleResolver's default chain of resolver delegates.
  • Minor performance improvements in type conversions and number operations
    tags expression language  factory createvalueexpression  math max  util simplecontext  unified expression  

    Download Java Unified Expression Language 2.1.0 RC3


     http://prdownloads.sourceforge.net/juel/juel-2.1.0-rc3.zip?use_mirror=kent
     http://prdownloads.sourceforge.net/juel/juel-2.1.0-rc3.zip?use_mirror=ovh
     http://prdownloads.sourceforge.net/juel/juel-2.1.0-rc3.zip?use_mirror=surfnet


    Authors software

    Calyxo Web Application Framework 0.9.0 (by Christoph Beck)
    Calyxo Web Application Framework encourages in MVC model 2 based web application development.

    It offers support for true modular a

    Java Unified Expression Language 2.1.0 RC3 (by Christoph Beck)


    Similar software

    Java Unified Expression Language 2.1.0 RC3 (by Christoph Beck)

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    MathML::Entities 0.13 (by Jacques Distler)
    MathML::Entities is a Perl module that can convert XHTML+MathML Named Entities to Numeric Character References.

    SYNOPSIS

    use M

    Language::Basic::Expression 1.44 (by Amir Karger)
    Language::Basic::Expression is a Perl package to handle string, numeric, and boolean expressions.

    SYNOPSIS

    See Language::Basic

    Jxp 1.5.1 (by thlee)
    Jxp (Java scripted page) is a script-processor/template-engine that can execute template files containing text + java code

    C++ expression template matrix library 0.6.1 (by Ricky Lung Man Tat)
    exmat's goal is to provide an easy to use, yet very efficient matrix library

    C++ Regex Engine 1.06a (by Jeff Stuart)
    C++ Regex Engine project provides a robust regular expression library for use in C++

    BoolStuff 0.1.10 (by Pierre Sarrazin)
    BoolStuff is a C++ library that can support a few operations on boolean expression binary trees.

    Here are some key features of "Bo

    JBooleanExpression 1.2 (by Adolfo Sanz De Diego)

    Regular Expression Graphing Program 0.2 (by Steve Oualline)
    Regular Expression Graphing Program project is a regular expression graphing program.

    This program is designed to take a regular e


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags