Advantages Java parsers: 1. XML documents are not downloaded on the client machine but parsed at the server side and html is returned to the client through response object. 2. Asynchronous requests still can be made using AJAX technology, but instead of sending XML documents, send html back to the browser. (I haven't tried this but I think it is possible). (We can have UI renders classes that will parse these XML documents and apply any stylesheets necessary. I am not sure how fast this would be).
Did anyone compare these two approaches? and which one do you think is better?