Print this page Share

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

ISBN: 978-0-471-46362-7
480 pages
November 2003
Java Open Source Programming: with XDoclet, JUnit, WebWork, Hibernate (0471463620) cover image


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
See More

Table of Contents


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.


See More

Author Information

JOE WALNES is an IT consultant for ThoughtWorks, specializing in development of Java-based enterprise software using agile techniques. He is also a core developer of the Open Source OpenSymphony project.

ARA ABRAHAMIAN is a J2EE software developer and the XDoclet project leader.

MIKE CANNON-BROOKES is the principal and founder of Atlassian, a J2EE software, service, and support company. He founded the OpenSymphony project and contributes to various other J2EE Open Source projects.

PATRICK A. LIGHTBODY is a software engineer with Spoke Software. He is also a primary developer on the OSWorkflow, XWork, and WebWork projects.

See More


Download TitleSizeDownload
The PetStore application.
The downloads are in compressed ZIP format. You'll need a program like WinRAR or WinZip to uncompress them.
9.47 MB Click to Download
Sample code from the text of the book:
The downloads are in compressed ZIP format. You'll need a program like WinRAR or WinZip to uncompress them.
2.69 MB Click to Download
See More


A mailing list to discuss with other readers
Welcome to the companion site for this title.
Here you will find:
The PetSoar application: petsoar-app.zip on the download page
Sample code from the text of the book: examples.zip 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 petsoar-request@lists.atlassian.com. 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.
See More

Related Titles

Back to Top