Cover image for Java Open Source Programming : with XDoclet, JUnit, WebWork, Hibernate.
Java Open Source Programming : with XDoclet, JUnit, WebWork, Hibernate.
Title:
Java Open Source Programming : with XDoclet, JUnit, WebWork, Hibernate.
Author:
Walnes, Joseph.
ISBN:
9780764558344
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (481 pages)
Contents:
Java Open Source Programming -- Contents -- Acknowledgments -- About the Authors -- Introduction -- Part One: Introduction -- Chapter 1: Overview of the Book -- Using Open Source Technologies -- Understanding Design and Development Philosophies -- Exploring the PetSoar Project -- Sticking to the Basics -- Summary -- Chapter 2: Application Overview -- Looking at Yet Another Pet Store? -- Understanding the Importance of Maintainability -- Understanding the Requirements of PetSoar -- Examining the Architecture and Technologies -- Testing -- Summary -- Part Two: Building Your Open Source Toolbox -- Chapter 3: Unit Testing with JUnit -- Types of Testing -- Using JUnit -- Summary -- Chapter 4: Testing Object Interactions with Mocks -- Testing Object Interactions -- Using Mock Objects -- Summary -- Chapter 5: Storing Objects with Hibernate -- Understanding the Complexities of Persistence -- Persisting Objects with Hibernate 2 -- Persisting Hierarchies of Objects -- Understanding the Hibernate Toolset -- Comparing Hibernate with Competing Technologies -- Summary -- Chapter 6: Model View Controller with WebWork -- Understanding Model View Controller ( MVC) -- Understanding MVC, WebWork, and XWork -- Taking an In-depth Look at Actions -- Applying Newton's Third Law of Physics -- Expressing Yourself -- Exploring Type Conversion -- Separating Concerns with Interceptors -- Validation - A Powerful Interceptor -- Summary -- Chapter 7: Simplifying Layout with SiteMesh -- Identifying Problems with Layout -- Using the Object-Oriented Solution -- Implementing the Solution with SiteMesh -- Using Tips and Tricks -- Summary -- Chapter 8: Adding Search Capabilities with Lucene -- Understanding the Complexities of Searching -- Introducing Lucene -- Summary -- Chapter 9: Generating Configuration Files with XDoclet -- Introducing XDoclet.

Understanding Attribute Oriented Programming with XDoclet -- Summary -- Chapter 10: Communication and Tools -- Exploring PetSoar Development -- Managing Imperfect Communication -- Exploring Our Toolbox -- Using Continuous Integration -- Tying the Tools Together -- Summary -- Chapter 11: Time-Saving Tools -- Understanding Utility Components -- Understanding OSCache -- Understanding Commons Lang -- Understanding Commons Collections -- Understanding Commons Logging -- Understanding Commons Digester -- Summary -- Part Three: Developing the Application -- Chapter 12: Setting Up the Development Environment -- Working from Within the IDE -- Using Ant for All Your Building Needs -- Using the Hybrid Approach -- Laying Out Your Project -- Managing Unit Tests -- Using Version Control -- Deploying PetSoar -- Summary -- Chapter 13: Understanding Test Driven Development -- Why Test First? -- Understanding Testing Techniques -- Testing the TDD Cycle -- Summary -- Chapter 14: Managing Lifecycles and Dependencies of Components -- Understanding Components and Services -- Handling Dependencies -- Understanding the Component Lifecycle -- Understanding Inversion of Control -- Understanding Separation of Concerns -- Using Containers to Define Scope -- Using XWork's Container Implementation -- Testing XWork Components -- Summary -- Chapter 15: Defining the Domain Model -- Considering the Advantages of a Domain Model -- Tackling the Layers -- Identifying the Current Goal -- Adding a Pet to the Store -- Retrieving Pets -- Persisting the Categories -- Performance and Maintainability Considerations -- Summary -- Chapter 16: Creating a Web-Based Interface -- Adding a Pet -- Displaying a Pet -- Editing a Pet -- Get that Pet Out of Here! -- Refactoring the CRUD -- Changing the Pet -- Summary -- Chapter 17: Defining Navigation, Layout, Look, and Feel -- Componentizing Form Widgets.

Forming a Better Look and Feel -- Using a Touch of Style -- Navigating to a Better User Interface -- Summary -- Chapter 18: Implementing Browse and Search Capabilities -- Defining the Application Requirements -- Browsing the List of Categories -- Browsing the List of Pets -- Searching the Store for Pets -- Tying It All Together -- Summary -- Chapter 19: Adding a Shopping Cart -- Creating a Shopping Cart -- Creating the WebWork Actions -- Checking Out the Shopping Cart -- Summary -- Chapter 20: Securing the Application -- Understanding J2EE Security -- Simplifying Security -- Using a More Graceful Approach -- Summary -- Index.
Abstract:
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.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: