Java EE 7 SDK 

Samples Main Page

The Expression Language Sample Application

This sample demonstrates some of the new features in Expression Language (EL) 3.0.

Description

Expression Language 3.0 (JSR 341) includes many new features. This sample contains Java code that illustrates how expressions can be evaluated in a stand-alone environment, outside of a web container. It also includes examples of some the new syntax in EL expressions, as detailed in Key Features below.

Key Features

This sample demonstrates the following key features:

Building, Deploying, and Running the Application

The sample runs without a web container. Perform the following steps to clean, build and run the application:

  1. Change directory to samples_install_dir/el
  2. Execute the following command:

    mvn clean compile exec:java

Troubleshooting

If you have problems when running the application, refer to the troubleshooting document.



Copyright © 1997-2013 Oracle and/or its affiliates. All rights reserved.