A comprehensive tutorial on how to use the power of Velocity 1.3 to build Web sites and generate content
Designed to work hand-in-hand with Apache Turbine, Struts, and servlets, Velocity is a powerful template language that greatly enhances the developer's ability to customize Web sites. It separates Java code from the Web pages, making a site more maintainable. Because of this, it is a viable alternative to JSPs and PHP and is expected to become the standard template engine. In addition to its use with Struts and Turbine, Velocity can also be used to generate Java and XML source code, XML schemas, HTML templates, and SQL code.
Even with all its promise, finding expert instructions on how to properly program with this language has been difficult. This code-intensive tutorial gives you all the tools you'll need.
It begins by quickly bringing you up to speed on all of the Velocity fundamentals and the Velocity Template Language. You'll then learn how to apply Velocity in a variety of areas with the help of richly detailed code examples. Additionally, you'll be taken through the steps of building a complete application in order to see how you can utilize all of the techniques and technologies discussed in the book. Covering the latest features of Velocity 1.3, Mastering Apache Velocity shows you how to:
* Build Java-based Web sites with Struts, servlets, Turbine, and other open-source tools
* Generate a wide variety of Web content and code, including Java, XML, SQL, and Postgres

- 386 pages
- English
- PDF
- Available on iOS & Android
eBook - PDF
Mastering Apache Velocity
About this book
Trusted by 375,005 students
Access to over 1.5 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Table of contents
- Mastering Apache Velocity
- Chapter 1: Web Development Basics
- Chapter 2: MVC Fundamentals
- Chapter 3: Introduction to Velocity
- Chapter 4: Installing Velocity
- Chapter 5: Building a Hello World Example
- Chapter 6: Understanding Templates and Context
- Chapter 7: Exploring References
- Chapter 8: Using Directives
- Chapter 9: Introducing Velocimacros
- Chapter 10: Taking Control of Velocity
- Chapter 11: Velocity, XML, and Anakia
- Chapter 12: Using Velocity with Servlets
- Chapter 13: Velocity and Internationalization
- Chapter 14: Using Velocity and Turbine
- Chapter 15: Using Velocity and Maverick
- Chapter 16: Velocity IDEs
- Chapter 17: Using Velocity and Struts
- Chapter 18: The Hotel Reservation Velocity Application
- Chapter 19: Using JSP and Velocity
- Chapter 20: DVSL and Velocity
- Appendix A: The Velocity Specification
- Appendix B: Velocity Sites
- Index
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Mastering Apache Velocity by Joseph D. Gradecki,Jim Cole in PDF and/or ePUB format, as well as other popular books in Informatique & Programmation en Java. We have over 1.5 million books available in our catalogue for you to explore.