As I was working on Roller, I kept the UI fairly simple. I didn't create any forms that needed to refresh themselves before making a final post. I tried to avoid using JavaScript except where absolutely necessary. I was pretty happy with Servlets, JSP, and Struts.
Now, I'm working on a Java-based web application with very complex forms. Some of the forms have multiple tree choosers, dynamic select boxes, popup windows with dual-lists, and popups that cause the page that launched them to reload. There is just no avoiding JavaScript and our requirements are pushing us towards complex solutions like inner-browsing to reduce the number of trips to the server for page reloads.
I can live with JavaScript and I'm taking the time to study up, but I'm becoming pretty disenchanted with web-MVC. I'm finding that, even with an web-MVC framework like Struts, maintaining the state of all of the form fields and UI widgets through page reloads and popup interactions is a real pain. There has to be a better way and, the more more I read about Java Server Faces the more I become convinced that it will be that better way. JSF will introduce UI components that can manage their own state, fire events, and, in general, behave more like true UI components. Sounds like the holy grail of Java web development. Do any of the existing Java web application frameworks support this kind of UI components today?
This work is licensed under a Creative Commons License.
Copyright 2002-2007, David M Johnson (dave.johnson at rollerweblogger.org)
This is a personal weblog, I do not speak for my employer.

Buy now from Amazon.com
Or direct from Manning
| « December 2008 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 | |||
| Today | ||||||
Allen Gilliland
Anil Gangolli
Dan Axon
Danese Cooper
Film Babble Blog
Geertjan's Weblog
Henri Yandell
James Robertson
Jim Grisanzio
Josh Staiger
Linda Skrocki
Pat Chanezon
Rama
Ruby Sinreich
Simon Phipps
Tim Bray
Will Snow
Janne Jalkanen
Joe Gregorio
Matt Raible
Mike Cannon Brookes
Rafe Colburn
Sam Ruby
Simon Brown
My other sites
Posted by Jed Wesley-Smith on October 03, 2003 at 02:25 AM EDT #
Posted by Scott Farquhar on October 03, 2003 at 03:38 AM EDT #
Posted by Stefan Chis on October 03, 2003 at 04:40 AM EDT #
Posted by pipi on October 03, 2003 at 05:37 AM EDT #
Posted by Spadak on October 03, 2003 at 05:49 AM EDT #
Posted by James Head on October 03, 2003 at 06:34 AM EDT #
Posted by Carlos E. Perez on October 03, 2003 at 06:44 AM EDT #
Posted by Laszlo Marai on October 03, 2003 at 08:32 AM EDT #
Posted by S D on October 03, 2003 at 09:02 AM EDT #
Posted by eu on October 03, 2003 at 10:04 AM EDT #
Posted by Stefano on October 03, 2003 at 12:19 PM EDT #
Posted by Gerald Bauer on October 03, 2003 at 02:55 PM EDT #
Posted by Etienne on October 04, 2003 at 02:57 AM EDT #
Posted by James Head on October 17, 2003 at 10:24 AM EDT #
Posted by pornstar finder on February 20, 2004 at 04:13 AM EST #