This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

Java Objects and XML

Stefan Tilkov,

I’m awfully late to follow up on Ted Neward’s latest post in the monster permathread, but this piece from Norman Walsh gives me a nice excuse.

I think it’s fairly typical that people believe that working with strongly typed objects is the only sensible way that anyone would ever want to use for working with XML, much as Ted seems to think. But Norman’s post, as well as some older ones I commented on before, highlight that this is not necessarily the case.

I recently got to know a scenario where the backend legacy system had an (unRESTful) XML API. This was accessed from a Java/J2EE app that essentially turned the XML from the backend into Java objects and then turned those into HTML. I can’t help but feel that something is seriously wrong in a scenario like that …