« Times Past | Main | Advertisements »

June 20, 2005

JSF Woes

Everyone loves JavaServer Faces [sun.com], right? Well I don't. I like it, but I definitely don't love it. The whole premise of JSF is to break out web applications into a model-view-controller (MVC) framework where you can employ a UI expert for the view and logic developers for the controller/model. From the specification's website:

JavaServer Faces technology simplifies building user interfaces for JavaServer applications. Developers of various skill levels can quickly build web applications by: assembling reusable UI components in a page; connecting these components to an application data source; and wiring client-generated events to server-side event handlers.

In reality you have UI people developing Java classes that provide markup. Sure, the components espousing the markup are reusable, but one of the great promises is the easy interchange of rendering kits for JSF applications for switching between, for example, a website and a mobile version of that site. Well, I don't call UI developers deploying Java classes for different interfaces a leap forward, but more of a step back. I feel better for ranting now, sorry.

That all being said, JSF can be great in its future iterations, but the specification needs to evolve and bring in new(er) concepts.

  • Templating System
  • AJAX-like Asynchronous Events

And those are just the ones off the top of my head. Sometime in the future I'll expand on these topics, but now I must go.

Posted by Guy at June 20, 2005 5:06 PM