Skip to main content

Java Open Source Programming: with XDoclet, JUnit, WebWork, Hibernate

Java Open Source Programming: with XDoclet, JUnit, WebWork, Hibernate

Joseph Walnes, Ara Abrahamian, Mike Cannon-Brookes, Patrick A. Lightbody

ISBN: 978-0-471-46362-7

Nov 2003

480 pages

Select type: Paperback

Product not available for purchase


Discover how to develop full-scale J2EE?TM applications quickly and efficiently using the best Open Source tools

Written by leading authorities in the field, this book shows you how to leverage a suite of best-of-breed Open Source development tools to take the pain out of J2EE and build a complete Web-based application. You'll combine these tools to actually reduce the points of failure in your application, while increasing overall system stability and robustness. Along with the tools introduced here, you'll develop the PetSoar application, which follows the PetStore application used by Sun Microsystems to demonstrate features of J2EE. With PetSoar, the authors focus on developing a maintainable and flexible application, rather than showcasing the end result, so that you can apply the material in your own projects.

In addition, the authors provide methods for utilizing Open Source software components for each stage of the development process.

The Open Source products covered include:
* Hibernate to aid with simple,flexible, and speedy transparent object persistence
* OpenSymphony WebWork to allow for pluggable view technologies and extensible configuration
* JUnit and Mock Objects to assist with rapid and robust unit testing
* XDoclet to assist with generating code and configuration files automatically
* Jakarta Lucene to add Google-style smart search capabilities to data stores
* OpenSymphony SiteMesh to aid in the creation of large sites with a common look and feel
* OpenSymphony OSCache to easily cache slow dynamic sections of Web sites resulting in faster-loading pages

About the Authors.


Part One: Introduction.

Chapter 1: Overview of the Book.

Chapter 2: Application Overview.

Part Two: Building Your Open Source Toolbox.

Chapter 3: Unit Testing with JUnit.

Chapter 4: Testing Object Interactions with Mocks.

Chapter 5: Storing Objects with Hibernate.

Chapter 6: Model View Controller with WebWork.

Chapter 7: Simplifying Layout with SiteMesh.

Chapter 8: Adding Search Capabilities with Lucene.

Chapter 9: Generating Configuration Files with Xdoclet.

Chapter 10: Communication and Tools.

Chapter 11: Time-Saving Tools.

Part Three: Developing the Application.

Chapter 12: Setting Up the Development Environment.

Chapter 13: Understanding Test Driven Development.

Chapter 14: Managing Lifecycles and Dependencies of Components.

Chapter 15: Defining the Domain Model.

Chapter 16: Creating a Web-Based Interface.

Chapter 17: Defining Navigation, Layout, Look, and Feel.

Chapter 18: Implementing Browse and Search Capabilities.

Chapter 19: Adding a Shopping Cart.

Chapter 20: Securing the Application.


The PetStore application. Download
Sample code from the text of the book: Download

A mailing list to discuss with other readers

Welcome to the companion site for this title.
Here you will find:
The PetSoar application: on the download page
Sample code from the text of the book: on the download page
A mailing list to discuss with other readers, as well as the authors, tools, and techniques in addition to those in this book. To subscribe to the mailing list you send an email with the message subscribe [email address] to To unsubscribe, you send with the message unsubscribe [email address] .

Also, consider checking out these titles

Also, consider checking out J2EE Open Source Toolkit: Building an Enterprise Platform with Open Source Tools by John T. Bell, James Lambros, and Stan Ng (John Wiley & Sons: Hoboken, NJ, 2003), another title in the Java Open Source Library that shows you how to build an enterprise development platform using Open Source tools, including many of the same tools discussed in this book; or Jakarta Pitfalls: Time-Saving Solutions for Struts, Ant, JUnit, and Cactus by Bill Dudney, Jonathan Lehr (John Wiley & Sons: Hoboken, NJ, 2003), another title in the Open Source Library that shows you how to escape from common coding pitfalls of proven Jakarta missteps and solutions.