What is Velocity?¶
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 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 various web frameworks, enabling them with a view engine facilitating development of web applications according to a true MVC model.
The Apache Velocity Project¶
Velocity is a project of the Apache Software Foundation, charged with the creation and maintenance of open-source software related to the Apache Velocity Engine. All software created at the Velocity project is available under the Apache Software License and free of charge for the public.
- 2020-02-02 - Velocity Engine 2.2 released
- 2019-03-31 - Velocity Engine 2.1 released
- 2018-10-09 - Velocity Tools 3.0 released
Apache Software Foundation¶
The Apache Software Foundation provides support for the Apache community of open-source software projects. The Apache projects are characterized by a collaborative, consensus based development process, an open and pragmatic software license, and a desire to create high quality software that leads the way in its field.
Apache Velocity Projects¶
Apache Velocity offers the following projects:
Velocity Engine ‐ This is the actual templating engine which does all the work. If you came here because you heard about Velocity somewhere on the web, this is probably the right place to start.
Velocity Tools ‐ This project contains tools and other useful infrastructure to build web and non-web application using the Velocity engine. You will find e.g. code for Struts integration or the standalone VelocityViewServlet here.
|Project||Release Version||Alpha/Beta/RC Release Version|
|Velocity Engine||2.2||(currently none available)|
|Velocity Tools||3.0||(currently none available)|
The release distribution is available as a combined source/binary distribution in tar.gz and zip formats, and can be downloaded from our download page.
For more information about the Apache Velocity Project, see
- How the Apache Velocity project works
- Who are the people behind the Apache Velocity project
- Find out how to get involved with the Apache Velocity project
- Contact the Apache Velocity project
For more information about the Apache Software Foundation, see