Velocity

About

Community

Docs

Comparisons

Tools

Velocity v1.2 Release Candidate 1 Released

powered-by-logo.gif Release candidate 1 of version 1.2 of the Velocity Template Engine is now released. Combining contributions and improvements from throughout the Velocity community, this version offers many new enhancements features and fixes.

Major enhancements include :

  • Application programmers now can instantiate separate, independent instances of the Velocity Template Engine or continue to use the traditional singleton model.
  • Major improvements to Anakia and Texen.
  • The Velocimacro system can be configured to reload changed VM libraries automatically when the macro definitions change.

Minor enhancements are too numerous to mention. Please see the change log for details.


Velocity News

New Apache Site Generated with Anakia

The new web site of the Apache Software Foundation is now generated using Anakia, the Velocity-based XML transforamtion tool. Take a look.

Need To Mix JSP and Velocity?

Take a look at a new contribution, a Velocity taglib that lets you use Velocity right in your JSPs.

4 published articles covering Velocity

Getting Up to Speed with Velocity is a really well written article by Jim Jagielski about the merits of using a tool like Velocity.
Many people believe that Velocity can only be used in the context of web applications. This excellent JavaWorld article by Leon Messerschmidt shows that the design of Velocity is such that it can be used in a myriad of applications.
The Java Developer Journal recently published an edited version of the YMTD article by Jon Stevens as the cover story for their July edition.
The Sun Dot-Com Builder developer information site has a "Best Practices" product profile on Velocity. Check it out here. Thanks Sun!

4 Products/Projects Now Depend on Velocity

Gentleware, Xadra and Vamp have built products which depend on Velocity. J/Top, a server monitoring project, also uses Velocity for email output formatting. We have listed them on our ever expanding Powered By Velocity page.

5 Web Frameworks Now Support Velocity

Turbine, JPublish, Melati, Maverick and WebWork all support Velocity. We have listed them on our ever expanding Powered By Velocity page.


What is Velocity?

Velocity is a Java-based template engine. It permits anyone to use the simple yet powerful template language to reference objects defined in Java code.

When Velocity is used for web development, Web designers can work in parallel with Java programmers to develop web sites according to the Model-View-Controller (MVC) model, meaning that web page designers can focus solely on creating a site that looks good, and programmers can focus solely on writing top-notch code. Velocity separates Java code from the web pages, making the web site more maintainable over the long run and providing a viable alternative to Java Server Pages (JSPs) or PHP.

Velocity's capabilities reach well beyond the realm of web sites; for example, it can generate SQL and PostScript and XML (see Anakia for more information on XML transformations) from templates. It can be used either as a standalone utility for generating source code and reports, or as an integrated component of other systems. Velocity also provides template services for the Turbine web application framework. Velocity+Turbine provides a template service that will allow web applications to be developed according to a true MVC model.


Where do I get releases?

The current release version is version 1.1

The release distribution is available in both tar.gz and zip formats, and are found here.

The latest release candidate, verion 1.2-rc1 can be found here.


Where do I get nightly snapshots?

Nightly snapshots of the Velocity CVS can be found here.

These are meant to provide easy access to the actual project CVS tree. As this is our live development workspace, there are no guarantees as to what you will find there,although we do our best to maintain a buildable source tree. If you are looking for the stable supported release, please use the current release of Velocity.

If you are willing to risk getting dirty, we invite you to try the nightly snapshot to see the current state of affairs (and help out!) Public CVS access is also available.


How do I contribute, give feedback, fix bugs and so on?

The Velocity project really needs and appreciates any contributions, including documentation help, source code and feedback. Suggested changes should come in the form of source code and/or very detailed and constructive feedback.



Copyright © 1999-2001, Apache Software Foundation