JavaServer Faces Is Here



Email    print   
April 1, 2004 —  (Page 1 of 2)
It took more than two years, but JavaServer Faces (JSF), aka JSR 127, is finally available. In theory, JSF will help new developers build JavaServer-based Web applications quickly by assembling reusable user interface (UI) components in a page, connecting components to an application data source, and wiring client-generated events to server-side event handlers. Essentially, JSF provides a single application programming interface (API) set for creating interoperable components for application servers and component libraries.

Specifically, that means JSR 127 comes with APIs for UI components and managing their state, handling events and input validation, and easier and more flexible page navigation. It also includes a JavaServer Pages (JSP) custom tag library for expressing a JSF interface inside a JSP page.

Like Swing, JSF provides the usual UI widgets, such as buttons, checkboxes, etc; a model for creating custom widgets; and ways to handle client-generated events on the server. Don't mistake this, though, for just another way to create Web-based user interfaces. It's more than that. JSF's two strongest points are that it enables your developers to create Web applications that aren't specific to a particular rendering kit, and it lets you easily connect a J2EE app server to the user interface.

Without JSF, when you build an interface, if you're using Java Standard Tag Library (JSTL), JSP Expression Language, or even if you just use Struts and assume that HTML is good enough, you still end up with a UI that works well only with a particular browser. That might be good enough in some corporate environments, but wouldn't it be better to have the flexibility to build an application that you could write once and run on any interface from a smartphone to a Pocket PC to a workstation? Hmmm. Write once, run anywhere. Where have I heard that before?

The ability to easily link a J2EE application and its associated database management system (DBMS) is not a small deal. There have always been many ways for J2EE to work with JSP or other ways to create active Web pages, but that was part of the problem. And, I might add, it was one area where .NET clearly has outshone Java. There was no standard way to present J2EE-based applications to users…until now.




Pages 1 2 


Share this link: http://sdt.bz/27781
 
Most Read Latest News Blog Resources

Add comment


Name*
Email*  
Country     


  • Comment
Loading




close
NEXT ARTICLE
Code Watch: Here comes functional programming
C#'s popularity means functional programming is here to stay and poised to overcome its roadblocks Read More...
 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
FEBRUARY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
02/09/2012 02:16 PM EST

Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
02/07/2012 11:57 AM EST

RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
02/04/2012 01:57 PM EST

GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
02/03/2012 12:17 PM EST

Facebook claims hacker cred
Facebook's SEC S-1 filing form includes a short essay on the Hacker Way by Mark Zuckerberg himself.
02/02/2012 08:26 AM EST

Ryan Dahl steps down
Ryan Dahl, creator of Node.js, steps back from his position as gatekeeper for the project.
02/01/2012 04:58 PM EST

 
Events calendar tab
2/13/2012 to 2/16/2012
Santa Clara
TechWeb

2/26/2012 to 2/29/2012
San Francisco
BZ Media

2/27/2012 to 3/2/2012
San Francisco
RSA

3/4/2012 to 3/7/2012
Las Vegas
IBM Tivoli

3/5/2012 to 3/9/2012
San Francisco
TechWeb