-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Cris,

On 9/14/20 15:04, Berneburg, Cris J. - US wrote:
> Hey Chris
>
> CS> IMO, the JSP effort was a stepping-stone on a path to better
> CS> technologies like Velocity, FreeMarker, and others. If I were
> CS> king, JSP would just go away. Just my POV of course, you are
> CS> welcome to fall in love with JSP. :)
>
> Seeing as I am ever on the trailing edge of learning new or even
> dated technologies, what do you like better about Velocity,
> FreeMarker, etc. more than JSP?

I started using Velocity years ago because it was bundled with Turbine
which was being used by a project I got pulled-into. We eventually
ripped everything else out, but Velocity survived.

I looked at FreeMarker when doing a book review for Apache Struts 2
and it looked very interesting, but I discovered that the guy running
the project was ... difficult to work with. SO I've stuck with
Velocity for a long time.

It definitely has its warts but it's relatively actively maintained,
and anything I need I can get in and do myself, submit patches, etc.

Advantages over JSP (IMHO):

- - Can't execute direct Java code, ever
- - Non-verbose syntax
- - No limit on template length (JSP eventually hits the "Method too
long" problem which is very inconvenient)
- - Easy to install POJO "tools" which just expose Java objects to the
runtime so you can $tool.doSomething() and it'll do whatever that is,
converting the result to a String and dropping it into the output
- - Can load templates from anywhere (disk, DB, URL, etc.)

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl9gyksACgkQHPApP6U8
pFi2og//TI//2oxfo4iE3q0B1f4sMN8fT8K9EVT89EME1jfUHontVRXtrX+tke2f
t/3Os9veBJROAO5jOJvBCkefq7V2Lqij2289Vc7qVuuap+UqO/a+UCyOjxmVAHGh
TrMeuxRLV8V1GPhDo0pftoJEWXg6SnDEqo7TF/1kGAmcaHEkWUEYrOPLfE92GbHJ
8bNySZFEleXX3decZj1mBdAoL+SMV7jbSvONGrMDds0saAddUmYMpdP9VPnCnKfG
YS5Ec1Hx/1hshUisC1qOuarNCXH+84MLV98yM1pECoYCzx+2rTZ9RdoLwDnHjJB2
wJrc66P0yHOXyBfMamfpaxsUvTj2PON6RwBcbC7gaDMLIefGWM8TUROXMf7Odd40
TDZ+uJvyZBApeCnHkKrY/ipEvT4qb5sF0pVZTV9N6EBfqhKwBXgNqxTpCnAOkYFq
egXYO1JGShxCdnHfAgNHyMoZ61PLltwe5msW6ZTlAqex3teZkmIrVfXXINy/JEbs
lcRxe/V1EPBk9JxPJMy+hgDx4RBk6/ocepJbT2BR8nA9R1LBvA5h7wMr9iQw091S
pbBr7xuKnIncMuCqTTyjiPZV/+7fBRYZgGAqZX+2pNGJkZ+kNMm3FAPqz9pjw/LD
2DZyK7gqXmFCWGGdlWxLfPOpNb6ajv3slc3fMXxvdBNNpW1AYg8=
=AwcX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to