File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes opinions on Velocity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "opinions on Velocity" Watch "opinions on Velocity" New topic

opinions on Velocity

Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
I am looking for opinions on Velocity. Particularly, is it obsolete now that JSTL is out?

Matthew Phillips
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The short answer is no, it's not at all obsolete.
The longer answer is that JSP, and thus tag libraries, and thus JSTL, and thus JSTL-EL have major problems for many applications and styles of development. Also note that Velocity is now being used for all sorts of interesting projects such as generalised preprocessing tasks for Ant, but JSP and it's associated technologies are limited to the production of web pages.
There is still big need for both templating as a general approach and pre-built, "loads of features" templating systems. The two main contenders in this field are currently WebMacro and Velocity. Both are worth a look.
As a historical note, Velocity was originally conceived as an attempt to rewrite WebMacro to make it available under the Apache licence, rather than the more ideological Gnu Public Licence. Because of this they share many similarities.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
It is sorta covered in the JavaRanch Style Guide.
subject: opinions on Velocity
It's not a secret anymore!