Professional Struts Applications: Building web sites with Struts, ObjectRelationalBridge, Lucene, and Velocity / Edition 1by CARNELL, Jeff Linwood, Maciej Zawadzki
Pub. Date: 03/01/2003
Building web applications that are maintainable and extensible requires a significant amount of design and planning before even a single line of code can be written. However, by leveraging development frameworks, many of the challenges of web-based development can be overcome. This book acts as a roadmap to demonstrate how to use the Jakarta Struts framework to solve everyday web application development challenges.
Although Struts is rapidly becoming a de facto standard for Java web applications, it can only provide for part of your application. Therefore, this book concentrates not only on how to use Struts to develop the core architecture of a web application, but also on how to use other Jakarta projects to create a fully open source web application. It uses ObjectRelationalBridge to provide the O/R mapping for the data layer; Lucene to provide a search engine; Velocity to provide a templating language for the user interface; and of course Ant is used to tie the build process together.
Knowledge of J2EE web application development with JSP, servlets, EJBs, and design patterns is preferred because this is guide to using the frameworks in the "right" way and not an introductory tutorial to them.
Over the course of the book, we develop a full-scale web application to demonstrate the use of the following aspects of the Jakarta projects:
· Using Struts to build a flexible and dynamic MVC web application
· Using Struts to simplify HTML form construction and form validation
· Avoiding locking business logic into the Struts framework
· Using ObjectRelationalBridge to significantly cut down on the amount of data access code that needs to be written and maintained
· Using Velocity to cleanly separate presentation and Java code
· Using Lucene to incorporate search engine functionality into a web application
· Coordinating the deployment and build process with Ant
Open Source development frameworks, such as Struts, finally free developers from spending a large part of their time writing 'infrastructure' code for their applications. Instead they can focus on what is important: writing applications that add value to their organizations.
This book will provide a roadmap for how to combine many of the Apache Jakarta Group's Java open source technologies together into a powerful development framework for quickly delivering real-world solutions for their organizations.
- Publication date:
- Edition description:
- Product dimensions:
- (w) x (h) x 0.03(d)
Table of Contents
Chapter 2: Creating a Struts-based MVC Application
Chapter 3: Form Presentation and Validation with Struts
Chapter 4: Managing Business Logic with Struts
Chapter 5: Building a Data Access Tier with ObjectRelationalBridge
Chapter 6: Templates and Velocity
Chapter 7: Creating a Search Engine with Lucene
Chapter 8: Building the JavaEdge Application with Ant and Anthill
Most Helpful Customer Reviews
See all customer reviews