Jason Hunter wrote:
> Sure, I'm game.  WebMacro isn't the only game in town.

I did an informal survey a couple of weeks ago and came up
with WebMacro and FreeMarker as the two most powerful
template engines around.

They both have roughly the same features, though WebMacro
supports more ways of extracting data from Java objects.

I then did some benchmarking and found that FreeMarker is
at a minimum 5 times faster than WebMacro for their common
operations.  This seems to be due to all the introspection
that WebMacro must perform.

I can certainly see where WebMacro would be useful, especially
in a JavaBean-rich environment where you don't want to
write custom software to translate a Java object into a
Vector or Hashtable, but my current project is all hand-coded
servlets, so I certainly didn't want to pay the price for
all that (unneeded by me) complexity.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to