One option is to not even do HTML+JS, and use a Swing-based downloadable client UI. Another is to use partial page replacement and keep existing JSF code. Also, I could just use bare-bones DWR and jQuery.
Common things to think about are:
- I have a good POJO model of what the UI is managing, and I want to re-use it
- Wherever the POJO model lives, it has to be able to talk to J2EE service beans
JSF with PPR could be nice and easy to add to existing code. But since it will still generate huge amounts of HTML, I wonder if it will stay just as slow. The only way it wouldn't be the case is if JSF only rendered the affected parts of HTML.
Something to ponder...