Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3681208
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:39:54+00:00 2026-05-19T03:39:54+00:00

I was wondering what exactly moved Spring to use Spring EL over OGNL in

  • 0

I was wondering what exactly moved Spring to use Spring EL over OGNL in its web flow product:

http://static.springsource.org/spring-webflow/docs/2.2.x/reference/htmlsingle/spring-webflow-reference.html#el-language-choices

With OGNL, I can dynamically create simple classes and execute methods, etc, directly through the flow. I know it’s not a good practice to do that within actual web page templates (i.e. JSPs), because they are based on presentation, but web flow controls your program’s logic and I find the ability to use OGNL effectively there to be very convenient. Plus, you can test the flow to ensure that it works easily.

So, two questions:

  1. Are there any major benefits to using Spring EL over OGNL, especially in the context of Spring Webflow?

  2. Can you create objects using Spring EL?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:39:55+00:00Added an answer on May 19, 2026 at 3:39 am

    Well, the “why” is stated in the SpEL docs:

    While there are several other Java expression languages available, OGNL, MVEL, and JBoss EL, to name a few, the Spring Expression Language was created to provide the Spring community with a single well supported expression language that can be used across all the products in the Spring portfolio.

    While OGNL has its advantages, and its fans, its functionality is too limited for what was required for Spring 3, and so SpEL was born. And because SpEL became the base expression language for Spring, WebFlow moved to that as a replacement for OGNL.

    I haven’t had much cause to use SpEL much, though, so I couldn’t tell you how to do any particular task.

    As to its advantages, I’d say the primary one is that while OGNL is now stagnant, SpEL is a core part of Spring now, and so will be continuously improved and extended. Bluntly put, OGNL is dead (it’s maintained now by opensymphony.com, which is hardly a dynamic, active organisation)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm left wondering how exactly asp.net is able to scope a static property,
I'm just wondering exactly what factors affect how quickly createthread executes, and how long
I was reading litb's question about SFINAE here and I was wondering exactly what
I'm just wondering how exactly does a delegate method know when to be called?
I was wondering how exactly inner joins works in mysql. If I do SELECT
I'm wondering how exactly the XAML sample ( MSDN sample ) works: <Style x:Key=textBoxInError
I was wondering how exactly does TCP implement in-order delivery. lets say this is
I am wondering how exactly I can convert a location (X Y Z) to
Reading some posts from Jimmy Boggard and wondering - how exactly is it possible
I was wondering about how to exactly implement domain service in RIA. Is it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.