Ads by TechWords

See your link here
Receive the latest technology news and information.
Application/Web Development
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
Cloud Computing
View all newsletters




Privacy Policy
 

Velocity Java engine picks up speed

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

For more enterprise computing news, visit Infoworld.com
Story copyright 2006 InfoWorld Media Group, Inc. All rights reserved.

Jump to comments

Development

Additional Resources

WHITE PAPER
Approximately 60 percent of data migration projects overrun time or budget, while some fail completely. Download this white paper, "Enhancing Your Chance for Successful Data Migration," to learn the critical steps you need to take to execute a data migration project with minimum cost and risk to your business.
WHITE PAPER
Read the Gartner research note to learn why the TCO of a server-based computing deployment used to deliver all applications to users is around 50% lower than that of an unmanaged desktop deployment.
WHITE PAPER
Economic downturns have a tendency to accelerate emerging technologies, boost the adoption of effective solutions, and punish solutions that are not cost competitive or that are out of synch with industry trends. This IDC White Paper presents the results of an IDC survey of 330 companies in Western Europe, Asia/Pacific and the Americas that measures the receptiveness to Linux and takes into consideration changing views driven by the disruptive economic environment that businesses face today.