Velocity is a Java-based template engine. It permits anyone to use a 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 its lifespan and providing a viable alternative to Java Server Pages (JSPs) or PHP.
Velocity's capabilities reach well beyond the realm of the web; for example, it can be used to generate SQL, 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. For instance, Velocity provides template services for the Turbine web application framework, together resulting in a view engine facilitating development of web applications according to a true MVC model.
Velocity Approved as Top Level Project
(October 26, 2006)
The Board of the Apache Software Foundation has passed a resolution to upgrade Jakarta Velocity into an Apache Top Level Project (TLP), to be renamed Apache Velocity. We are excited of the new prominence of the Velocity project.
Please stay tuned for our new website at http://velocity.apache.org/. In the meantime, note that our new mailing lists are user@velocity.apache.org (subscribe at user-subscribe@velocity.apache.org) for general questions, and dev@velocity.apache.org (subscribe at dev-subscribe@velocity.apache.org) for development-related activity.
Velocity 1.5 Beta 1 Released
(September 13, 2006)
The Velocity developers are proud to announce the first beta version of Velocity 1.5. You may download it here.
This is an early release intended as a preview of things to come. Many bugs have been fixed and new features have been added. A sampling:
A complete list of changes is available at our issue tracker. Please report any additional bugs there, especially those that need to be fixed before our final release. (use 1.5 beta 1 as the version).
The current release version is version 1.4.
The release distribution is available as a combined source/binary distribution in
tar.gz
and
zip
formats, and can be downloaded through the
Apache Mirror system.
The Velocity jars are also available through the central Maven repository.
Older releases are archived at the Jakarta Velocity archives.
Nightly snapshots of the Velocity subversion source code tree can be found here.
These are meant to provide easy access to the actual project source control 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 Subversion access is also available.
The Velocity project appreciates any contributions, including documentation help, source code and feedback. Suggested changes should come in the form of source code and/or feedback.