Tim Holloway wrote:Actually, you might be better off using Cocoon, which is designed for XML, rather than JSF.
JSF is designed to run as a classical Model/View/Controller framework using JavaBeans (POJOs) for the models. You can adapt JSF to an XML backend using something like JAXB to convert the underlying XML to a directed graph of POJOs. And take advantage of the fact that JSF View EL isn't compiled until run-time to reduce dependency on pre-defined objects and properties. However, it would take a fair amount of care to make a workable framework out of that, so I'd definitely look at Cocoon first.