Pro Jakarta Velocity
From Professional to Expert
Rob Harrop - Collection The Expert's Voice
Résumé
The Apache Jakarta Velocity project is a template-based content generation tool that's a perfect alternative to JSP for Web applications. Using Velocity you'll give your applications a noticeable performance boost over JSP, and this book will show you how to get the best performance out of the Velocity runtime.
Since the Web has become the platform of choice for delivering applications to diverse sets of users, the need to generate increasingly complex interfaces for Web-based applications is greater than ever. Handcrafting HTML code is there-fore no longer practical, and it can lead to maintenance difficulties for most applications. As a Java programmer, you'll no doubt be familiar with JSP as a means of generating HTML content dynamically, but I've written this book to show you how Velocity can really work for you in your applications.
Velocity templates have a much simpler syntax than JSP pages, making thern the ideal solution for multidisciplined teams. You'll learn how to separate the Velocity presentation logic from the business logic of your application using the Model-View-Controller (MVC) pattern; in particular, 111 show you how to couple Velocity with both Jakarta Struts and Spring to achieve this.
One of the best, and most neglected, features of Velocity is that it isn't coupled for use in a Web-based environment. Velocity is an ideal solution for generating any kind of text-based output from any kind of application. This book will show many examples of Velocity usage outside Web applications, including Swing applications and Ant-based tools. Of course, Velocity isn't the only template tool available, so I'll show you how to build a simple abstraction layer to decouple your application from Velocity.
Velocity is truly one of the most useful open-source projects available in the Java world. My aim in this book is to provide you with ail the information you need to use Velocity effectively in real applications. By the end of the book, you'll be comfortable enough with Velocity to use it to replace JSP in your next Web-based application.
L'auteur - Rob Harrop
Rob Harrop is the lead architect of UK-based software company Cake Solutions Limited (www.cakesolutions.net). As part of Cake Solutions' team, Rob has planned, designed, and built enterprise-level applications for a variety of UK- and U.S.-based clients, including the Metropolitan Police, DTi, and National Union of Students Services Limited. In his spare time, Rob is an avid reader and enjoys "playing" with new technology, his current interests being Python and JavaServer Faces.
Sommaire
- Introducing Velocity
- Getting Started with Velocity
- Using the velocity Template Language
- Introducing Patterns and Best Practices
- Creating Stand-Alone Applications with Velocity
- Creating Web Applications with Velocity
- Using Velocity and Anakia
- Using Additional Velocity Tools
- Going Inside Velocity
- Extending Velocity
- Using Velocity Development Tools
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Apress |
Auteur(s) | Rob Harrop |
Collection | The Expert's Voice |
Parution | 24/09/2004 |
Nb. de pages | 370 |
Format | 17,5 x 23,5 |
Couverture | Broché |
Poids | 612g |
Intérieur | Noir et Blanc |
EAN13 | 9781590594100 |
ISBN13 | 978-1-59059-410-0 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse
- Informatique Informatique d'entreprise Conception et développement web
- Informatique Développement d'applications Conception et développement web
- Informatique Développement d'applications Conception et développement web Serveurs web et serveurs d'application
- Informatique Développement d'applications Conception et développement web Serveurs web et serveurs d'application Tomcat
- Informatique Développement d'applications Conception et développement web Serveurs web et serveurs d'application JBoss
- Informatique Développement d'applications Langages HTML
- Informatique Développement d'applications Langages Java - J2EE JavaServer Pages (JSP)
- Informatique Développement d'applications Langages PHP
- Informatique Développement d'applications Langages ASP
- Informatique Développement d'applications Outils de développement Dreamweaver
- Informatique Développement d'applications Outils de développement Golive