ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Transforming iCal Calendars with Java
Subject:   use templates for output generation
Date:   2004-05-23 18:49:42
From:   ragsvasan
This is indeed a very good article, what i comment here is just a suggestion. Anytime you want to generate a data format (or for that matter any output) try to use the "templates" instead of hard coding the format within the code. Fot this particular case you can use
Velocity . Or if this is heavy weight for your use, (for example if the application is real simple like this ical coversion) you
can try this a rudimentary templating engine .