« Godless hackers | Main | Blackbox tour coming... »

Latest Links: JSF vs. REST

I've been very happy with the choice of Struts 2 for Roller, but I still follow JSF because it's the Java standard. A couple of articles by Ryan Lubke about what's coming in JSF 2.0 got me thinking about JSF again.

One of my problems with JSF is REST. REST fans say JSF is inherently RESTless because every JSF request is a POST. JSF advocates say JSF can do GET and bookmarkable URLs if necessary and that's good enough.

Fortunately, the plans for JSF 2.0 indicate that REST improvements are coming:

Unfortunately, it sounds like all they're planning to do is make it easier to create bookmarkable URLs and add some support for the JSF-311 REST API. Why can't the goal be to make JSF applications RESTful by default? Why can't JSF ensure that POST is only used when required by the application (not the framework) and JSF URLs are simple, clean and always bookmarkable.


Hey, I'd just like to add my link to your list. It fits into this category, although I do not usually like to assign the term REST to it. http://ocpsoft.com/prettyfaces

Posted by Lincoln on November 18, 2008 at 01:46 AM EST #

I could not agree more. Developing with JSF to obtain any sort of bookmarkability and statelessness is a nightmare. I too had hopes JSF 2.0 would represent a move towards easier ways to write request scope or conversation scope - unfortunately that does not seem to be the case.

Posted by Casper on May 12, 2009 at 11:21 AM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed

« Godless hackers | Main | Blackbox tour coming... »


This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Links, some may be related to this entry.