|
Building web sites with Struts, ObjectRelationalBridge, Lucene, and VelocityBuilding 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 webbased 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 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.What does this book cover?Over the course of the book, we develop a fullscale web application to demonstrate the use of the following aspects of the Jakarta projects:Using Struts to build a flexible and dynamic MVC web applicationUsing Struts to simplify HTML form construction and form validationAvoiding locking business logic into the Struts frameworkUsing ObjectRelationalBridge to significantly cut down on the amount of data access code that needs to be written and maintainedUsing Velocity to cleanly separate presentation and Java codeUsing Lucene to incorporate search engine functionality into a web applicationCoordinating the deployment and build process with Ant
|
|
|