| By Jonas Jacobi, John Fallows | Article Rating: |
|
| April 6, 2006 09:30 AM EDT | Reads: |
93,634 |
A JSF component developer could take advantage of XUL's presentation layer and AJAX for communication, creating a highly interactive component. If the client does not support XUL, the application can dynamically fall back to a non-XUL solution. The application developer will still be able to build one application supporting multiple rendering technologies with one common programming model - JavaServer Faces.
A Page in JSF Supporting XUL and AJAX
The JSF sample shown in Listing 7 illustrates what a page developed with reusable JSF components leveraging XUL and AJAX as rendering technologies can look like.
Apart from the obvious namespaces, the sample contains one namespace that maps to a custom component library - xmlns:bobh=" http://www.bob.org/jsf/html" - and a custom component - <bobh:inputDate ..."/>.
The source of the page is not that different from what we have seen so far with XUL or AJAX, but the main difference is that the Web application developer will not need to learn two ways of supporting Rich Internet Applications in today's browsers.
Summary
This article provides some insight into two of the market's leading view technologies for Rich Internet Applications (RIA) - XUL and AJAX. These technologies have proven that they are more than capable of providing the end user with a highly rich and responsive user interface. We have also touched on the issues with these technologies such as platform support, being non-standards based, and maintenance.
Looking ahead, the potential for JavaServer Faces as a UI component technology is without boundaries. Component developers can provide the community with a wide range of components supporting technologies from HTML to XUL, wireless, and even character-based solutions with the imagination as the only limit.
In future articles, we are going to discuss how to build reusable JSF components that leverage AJAX and XUL.
This article is based on, and contains excerpts from, the book Pro JSF: Building Rich Internet Components by Jonas Jacobi and John Fallows, published by Apress. Book is now on bookstores and Amazon as of February 25, 2006.
Published April 6, 2006 Reads 93,634
Copyright © 2006 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Jonas Jacobi
Jonas Jacobi is co-founder and chief executive officer of Kaazing Corporation. A native of Sweden, Jacobi has worked in the software industry for more than 15 years with a mission to simplify application development. Prior to founding Kaazing, he worked for Oracle for eight years as a Java EE evangelist and product manager responsible for the product management of JavaServer Faces, Oracle ADF Faces, and Oracle ADF Faces Rich Client in the Oracle JDeveloper team. As co-founder and CEO of Kaazing, Jonas sets the company's business and product strategy and oversees all aspects of Kaazing's operations and mission to become the world-wide leader in real-time software. He is co-author of the best-selling book, "Pro JSF and Ajax: Building Rich Internet Components," (Apress).
More Stories By John Fallows
John Fallows, Co-Founder & CTO of Kaazing Corporation, is a pioneer in the field of rich and highly interactive user interfaces. In his role as chief technology officer, John formulates Kaazing's vision of creating the best real-time web framework based on the Java standard. He defines the architecture of the Kaazing product suite and oversees its development.
![]() |
SYS-CON Belgium News Desk 04/06/06 10:49:39 AM EDT | |||
JavaServer Faces (JSF) standardizes the server-side component model for Web application development but doesn't standardize the presentation layer at the browser. In a series of articles we are going to look at how JSF can fulfill new presentation requirements without sacrificing application developer productivity building Rich Internet Applications (RIA). AJAX has gained momentum primarily due to the XMLHttpRequest browser object, which supports asynchronous communication with any business services used by the Web application. Popular sites such as Google Mail and Google Suggest use AJAX to deliver RIA. |
||||
![]() |
SYS-CON Australia News Desk 04/06/06 10:18:19 AM EDT | |||
JavaServer Faces (JSF) standardizes the server-side component model for Web application development but doesn't standardize the presentation layer at the browser. In a series of articles we are going to look at how JSF can fulfill new presentation requirements without sacrificing application developer productivity building Rich Internet Applications (RIA). AJAX has gained momentum primarily due to the XMLHttpRequest browser object, which supports asynchronous communication with any business services used by the Web application. Popular sites such as Google Mail and Google Suggest use AJAX to deliver RIA. |
||||
![]() |
Jonas Jacobi 02/28/06 02:39:13 PM EST | |||
Hi Reza, Thank you for those kind words. We totally agree with you that the combination of JSF, Ajax, and XUL is a very powerful combination. Part 2 has already been published - http://jdj.sys-con.com/read/171490.htm These articles are also based on content from our book Pro JSF and Ajax was recently released - http://apress.com/book/bookDisplay.html?bID=10044 Cheers, |
||||
![]() |
Reza 02/28/06 05:11:36 AM EST | |||
Thank you for your very intresting article. Thank you again. |
||||
![]() |
Jonas Jacobi 12/06/05 01:38:38 AM EST | |||
Hi newbie, The easiest way of getting up to speed with XUL and XBL is to visit XUL Planet - http://www.xulplanet.com/ XUL Planet has proved to be a very good source for us when working on our book ([URL]Pro JSF: Building Rich Internet Components[/URL]) and its samples. Cheers, |
||||
- 4th International Cloud Computing Conference & Expo Starts Today
- Publishing Synergy: Blog, Twitter and Ulitzer
- Performance Tuning Essentials for Java
- Cloud Expo New York Call for Papers Deadline December 15
- Google Wave
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Cloud Computing Can Revitalize Your Career as Software Developer
- SOA World Magazine "Readers' Choice Awards" Voting Is Now Open
- Oracle+MySQL Opponents Take to the Barricades
- Virtualization Expo Call for Papers Deadline December 15
- Oracle Faces Growing Price for MySQL
- SpringSource Moving to Spring 3.0
- 4th International Cloud Computing Conference & Expo Starts Today
- Deputy CIO of the CIA to Keynote 1st Annual GovIT Expo
- Publishing Synergy: Blog, Twitter and Ulitzer
- Performance Tuning Essentials for Java
- Cloud Expo New York Call for Papers Deadline December 15
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Google Wave
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Cloud Computing Can Revitalize Your Career as Software Developer
- Oracle-Sun: IBM Reportedly Behind Delay
- Citrix Aims To Cripple VMware’s Cloud Designs
- Oracle Trashes HP Relationship for Sun
- After Ubuntu, Windows Looks Increasingly Bad, Increasingly Archaic, Increasingly Unfriendly
- SCO CEO Posts Open Letter to the Open Source Community
- Simula Labs Launches Hosted Delivery Platform To Enable Enterprise Open Source Adoption
- Where Are RIA Technologies Headed in 2008?
- Source Claims SCO Will Sue Google
- How Open Is "Open"? – Industry Luminaries Join the Debate
- Latest SCO News is Plain Weird
- IBM Tells SCO Court It Can't Find AIX-on-Power Code
- SCO Claims Linux Lifted ELF
- Flashback: Investing in 'Professional Open Source' - Exclusive 2004 Interview with David Skok, Matrix Partners
- HP Starts Pushing Desktop Linux
- Linux Business Week Exclusive: Linux Kernel To Be Re-Written To Counter Microsoft FUD































