XHTML Resource Representations in Jersey using StringTemplate
Most web services these days use XML and/or JSON as representation formats, mainly because they are simple to create and are easily parseable by other apps. A less commonly used, but extremely useful format is XHTML. But wait, that’s for displaying web pages right? It sure is, but it’s also valid XML. So if you…