I found an interesting transcript from the March 11, 2003 Java Live session. Marty Hall, author of the books Core Servlets & JavaServer Pages and More Servlets and JavaServer Pages was one of the guests.
Marty says, "I have seen both approaches used successfully. And I don't have a clear answer about when it's better to use either approach. But there are some general principles:
1. If you're using XML to represent an entire PAGE, then the XSLT approach makes sense.
2. If you're using XML to represent data ELEMENTS, then the JSP approach makes sense.
3. If you have highly structured results, the XSLT approach makes sense.
4. If you want web developers to be able to more easily manipulate the presentation, the JSP approach is probably better.
On the whole, I see a lot more people using MVC (that is, business logic creates beans, JSP technology extracts values from beans and presents them) than the all-XML way."
Interested in reading more? Check out the article.
7:49:58 PM
|