Skip the navigation

Velocity Java engine picks up speed

By Paul Krill
November 15, 2005 12:00 PM ET

InfoWorld - Providing an alternative to JavaServer Pages (JSP) Web development and the PHP scripting language, Apache's Jakarta Velocity tools team is touting open-source tools to function with the Velocity Java template engine.

Version 1.2 of VelocityTools, a subproject of Velocity, is now available for download. Velocity enables use of a template language to reference objects defined in Java code and can be used in Web development or to generate SQL, PostScript and XML from templates.

"VelocityTools 1.2 offers a variety of improvements over the 1.1 release," said Nathan Bubna, who serves as lead on the Velocity Tools project, in an e-mail. "In terms of infrastructure, the most significant is the ability to configure tool parameters via the toolbox definition file. There are also many new tools available for simplifying template development, including tools for working with lists and arrays transparently, sorting lists, alternating over value sets and more."

"VelocityTools 1.2 also offers compatibility with the latest Struts releases for those using our Struts integration tools," Bubna said.

When used for Web applications, Velocity separates Java code from Web pages, making the Web site more maintainable and offering an alternative to JSP or PHP, according to the Apache Jakarta Project.

Asked why developers may seek alternatives to PHP or JSP, Bubna said there are many reasons.

"Primarily, I would say that good MVC [Model View Controller] practices are easier with Velocity," he said. "Also, Velocity is very easy to learn, and once learned, it can be used in any context, not merely in Web development."

With Velocity, an MVC model is applied in Web page design, enabling designers to focus solely on creating a site that looks good, while programmers can focus on writing top-notch code, Apache Jakarta said.

The goal of Velocity is "to provide a simple, easy-to-use, cross-platform, Java-friendly template engine useful in many types of software applications [and] to not evolve into a full-fledged scripting language," Bubna said.

Velocity is five years old, Bubna said. There are 184 projects dependent on Velocity within Apache alone, based on statistics that Bubna gathered.

Reprinted with permission from InfoWorld. Story copyright 2010 InfoWorld Media Group, Inc. All rights reserved.
Additional Resources
Forrester Consulting - Optimizing Users and Applications in a Mobile World
WHITE PAPER
Solving application issues over the WAN requires careful consideration. Based on their independent research, Forrester Consulting offers recommendations on how to tackle application performance issues, insufficient bandwidth and the inability to quickly restore users in a disaster.

Read now.

Security KnowledgeVault
WHITE PAPER
Security is not an option. This KnowledgeVault Series offers professional advice how to be proactive in the fight against cybercrimes and multi-layered security threats; how to adopt a holistic approach to protecting and managing data; and how to hire a qualified security assessor. Make security your Number 1 priority.

Read now.

Cut Communications Costs Once and for All
WHITE PAPER
New IP-based communications systems are being deployed by small and midsized businesses at a rapid rate. Learn how these organizations are enabling faster responsiveness, creating better customer experiences, speeding office or mobile interactions, and dramatically reducing existing communications costs.

Read now.

App Development White Papers
The Keys to Distributed & Agile Application Development
How leading firms are winning with strategies for efficient application development, without relying on co-location.
Overcome Top 7 Admin Challenges of Active Directory
As Active Directory's role in the enterprise has drastically increased, so has the need to secure the data. Gain insight on creating repeatable,...
Insiders Can Ruin Your Company. Take Action.
Did you know that 80 percent of threats to an organization come from the inside? The threat from insiders is often overlooked in...
Top Solutions and Tools to Prevent Devastating Malware
Custom malware frequently goes undetected. According to Forrester Research, the best way to reduce risk of breach is to deploy file integrity monitoring...
Streamline Compliance and Increase ROI
Streamline, simplify, and automate compliance related activities; especially those that impact multiple business units. This white paper from NetIQ, outlines solutions that will...
All App Development White Papers
App Development Webcasts
Reduced TCO for Communications Applications with New Oracle SPARC Servers
In this webcast learn how Oracle's new SPARC T4 servers and SPARC Supercluster deliver the security, performance, and scalability required for 4G network...
Optimizing Networks for the Cloud
Join guest speaker, Rohit Mehra, IDC Director of Enterprise Communications Infrastructure, to explore current trends, discuss best practices for optimizing Data Center and...
Apps QuickStart Series Part 2: Designing and Deploying SQL Server on VMware vSphere
Download this webcast to learn about the design considerations for virtualizing SQL workloads, performance and scalability information and high-availability options, as well as...
Apps QuickStart Series Part 1: Designing and Deploying Exchange 2010 on VMware vSphere
Download this webcast to learn the virtual hardware design considerations for Exchange 2010, deployment using the building block approach, options for high-availability and...
Customer Spotlight: How IPC The Hospitalist Company Implemented Oracle on VMware
Have you been looking to hear about customer's experiences with the new VMware vCenter Site Recovery Manager product? View this webcast to learn...
All App Development Webcasts
Newsletter Sign-Up

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all newsletters | Privacy Policy
IT Jobs