/ blog / java / fun-with-macros.html

Root Beer Logo Root Beer

Chris Nokleberg's Fizzy Weblog

April 2003
Su M Tu W Th F Sa
    3 5
6 7 8 10 11 12
14 15 16 17 19
20 21 22 23 24 25 26
27 28 29 30
Previous  |  Next  |  More...
#  Fun with macros

In a bunch of the mailing lists and blogs I read, I've noticed a lot of talk recently about using Velocity as an alternative to JSP. This is a little surprising to me, but only because it's hard for me to believe that anybody still uses JSP [Emoticon].

I'll try to lay off the advocacy in the future, but if you (or your company) are evaluating the use of Velocity, I recommend that you take a look at FreeMarker. In particular, the new macro support in version 2.2 is very powerful. Velocity had Mark jumping though some hoops to implement calendar support in blojsom, but the FreeMarker implementation is relatively straightforward.

On that note, the year above my calendar is now hyperlinked (or click here). I've made the template that generates this page available here. Hopefully this gives a taste of the possibilities.

[Powered By FreeMarker]  [Valid Atom 1.0]  [Weblog Commenting by]