Skip to main content

Blog Archive for evanx during July 2010

.nbcomm {color: #969696} .nbchar {color: #ce7b00} .nbkeyword {color: #0000e6} So we need to convert objects into XML and back again, eg. to store some data in the database in XML format, because otherwise maybe we just gonna have too many tables and joins and what-not. Actually this is for a PNR, which is "Person Name Record" or something of that nature, as used in the travel...
Notwithstanding the fact that anyone in their right mind (which rules me out) would use Apache Velocity or FreeMarker for templating, we present a trivial templating helper class, where for instance we have an HTML template as follows to send a confirmation email to a customer. [prettify]
  <p><span>Hey ${displayName}</span>
 ...