The Artima Developer Community
Sponsored Link

Java Community News
Unified Expression Language Helps Integrate JSP, JSF

1 reply on 1 page. Most recent reply: Apr 9, 2006 11:24 PM by Vijay Nathani

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

Unified Expression Language Helps Integrate JSP, JSF Posted: Mar 8, 2006 8:45 AM
Reply to this message Reply
Summary
JSP and JSF each has its own expression language, and the two are sufficiently dissimilar to make integration between these technologies hard. A unified expression language, recently added to the JSP Standard Tag Library, aims to make using JSP and JSF together easier.
Advertisement
A java.net article by Krishna Srinivasan describes how the new unified expression language recently added to the JSP Standard Tag Library makes working with JSP and JSF together easier:
The expression language included in JSP provides greater flexibility to the web application developer. But those who are working with JSF have found themselves unsatisfied by the JSP expression language. The reason for the problem is that JSF is used for rendering GUI components, and needs run-time evaluation of expressions. Deferred evaluation means that the technology using the unified EL takes over the responsibility of evaluating the expression from the JSP engine and evaluates the expression at the appropriate time during the page lifecycle. But the JSP EL is designed for immediate evaluation of expressions.
The article outlines several other integration challenges, and then focuses on the solution, a unified expression language aimed to bridge these two technologies:
The new unified EL [expression language] essentially represents a union of the JSP and JSF expression languages and largely benefits JSF technology. The unified EL has the following features:
  • Deferred evaluation of expressions.
  • Support for expressions that can set values and expressions that can invoke methods.
  • Support for using JSTL iteration tags with deferred expressions.
Do you often work with JSPs and JSFs together? Do you see the need for this unified expression language?


Vijay Nathani

Posts: 29
Nickname: vijaynath
Registered: Jan, 2006

Re: Unified Expression Language Helps Integrate JSP, JSF Posted: Apr 9, 2006 11:24 PM
Reply to this message Reply
Java may not be the best language for presentation layer in Web applications. There is too much work and complexity even with frameworks and multiple tools.
I think that Java will be lose market share in this area to other opponents like ASP.NET, Ruby, etc.
Vijay,
www.geocities.com/vijay_nathani

Flat View: This topic has 1 reply on 1 page
Topic: Unified Expression Language Helps Integrate JSP, JSF Previous Topic   Next Topic Topic: FindBugs 0.9.6 Released

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use