WebMacro doesn't require you to write adapters to access your
data. You can take any object you like and, with no work beyond
context.put("fred", myCustomer)
access all the public data in myCustomer as $fred.Name,
$fred.Address, etc.
Other packages generally require you to do extra work, wrapping
your objects in special adapters.
Also WebMacro allows you to use standard Java collections such
as Vector, List, Hashtable, or even just arrays, to store lists
of objects--other packages generally require you to use their
own special adapters.
The consequence of this is that with WebMacro, you can drop your
business objects into the template "as is", whereas with other
packages you still have a lot of work to do, writing adapters.
You can use WebMacro commercially for free. If you want to ship
it as a part of a product, either you need to make your product
available under the GPL, or get another license from us.
Effectively then, WebMacro is free for use within organizations,
and free for use in building free software, but not free for use
in shipping shrink-wrap software (in that case, get a developers
license.)
Justin
Quoting Jim Preston ([EMAIL PROTECTED]):
> I have been happily using FreeMarker for a month or so and so far it
> fits my needs just fine. I haven't stressed it, so I can't give any
> specifics about the peformance, but it certainly doesn't seem to be
> significantly slow. From what I've read about WebMacro, the basic
> features of the two packages are very similar (basic variable
> replacement; an "if" construct; list fill-ins, etc.). In my case, the
> decision came down to one point: FreeMarker is unambiguously usable in a
> commercial product; WebMacro's licensing is not as clear on that point.
> In the absence of any other compelling advantage of WebMacro, that made
> my choice simple. I'd be interested in hearing, however, if anyone else
> HAS found a compelling advantage of WebMacro.
>
> --Jim Preston
> InterSurvey Inc.
>
>
> -----Original Message-----
> From: Vanita Browne [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 03, 1999 3:32 PM
> To: [EMAIL PROTECTED]
> Subject: WebMacro versus FreeMarker
>
>
> WebMacro and FreeMarker Users:
>
> I am in the process of deciding which template package to use in a
> project. It would be wonderful to hear from those that have used either
> or both packages.
>
> Throughout the time I have been subscribing to the list, many
> suggestions have been made leading users to WebMacro or another template
> tool, but few comments have been stated regarding the actual
> implementation and use of the above stated packages. Please comment on
> your experience with each above stated tool (ie. performance issues,
> problems with the template framework, etc.).
>
> Your experience and knowledge is appreciated.
>
> Regards
> Vanita
>
> PACKAGES:
> FreeMarker: http://www.freemarker.org/
> WebMacro: http://www.webmacro.org/
>
> ________________________________________________________________________
> ___
> 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
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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