Apache Jakarta and Beyond: A Java Programmer's Introduction
0321237714

Larne Pekowsky, Capital Thinking, Inc.

Publisher: Addison-Wesley
Copyright: 2005
Format: Paper Bound w/CD-ROM; 608 pp

ISBN-10: 0321237714
ISBN-13:9780321237712

Our Price: £35.99
This title is ordered on demand which may result in extended delivery times.



Description

This book is about developing more effectively and more efficiently. While

there are many ways to develop more effectively and efficiently, one option is

so ubiquitous that it is seldom discussed explicity: use existing code to simplify

the task at hand. The tools within the Jakarta open source set allow the

developer to do just that. All of the Jakarta tools are available for free, but these

tools lack proper documentation. In this new book, veteran developer and

author Larne Pekowsky introduces the reader to the philosophy behind the

Jakarta project, and offers a tutorial on how its tools can be used to build

robust Web applications, client applications, Web services, and much more.


Table Of Contents

Preface.

Acknowledgments.

1. Introduction.

    On Tools.

    On Open Source.

    The Apache Software Foundation and the Jakarta Project.

    On Application Development.

    Further Reading.

2. Ant.

    Introduction to Ant.

    Dependencies.

    Sets of Files as Task Arguments.

    Global Variables.

    Paths.

    Properties.

    Command-Line Arguments.

    Built-In Tasks.

    Creating New Tasks.

    Beyond This Book.

    Summary.

3. Eclipse.

    Getting Started with Eclipse.

    Using Ant with Eclipse.

    Beyond This Book.

    Summary.

4. Testing with JUnit.

    An Introduction to Automated Testing.

    JUnit-A Testing Framework.

    More on JUnit.

    How and What to Test.

    Integrating JUnit with Ant.

    Summary.

5. Testing Web Sites with HTTPUnit.

    An Introduction to HTTPUnit.

    A More Sophisticated Example.

    Testing with ServletRunner.

    Beyond This Book.

    Summary.

6. Further Web Testing with Jakarta Cactus.

    An Introduction to Cactus.

    Writing and Running Cactus Tests.

    Using Cactus with Eclipse.

    Beyond This Book.

    Summary.

7. Stress Testing with Jakarta JMeter.

    Using JMeter.

    Distributed Testing.

    More Sophisticated Test Plans.

    Using JMeter with Ant.

    How to Stress Test.

    Beyond This Book.

    Summary.

8. Simplifying Bean Development with BeanUtils.

    Introduction to BeanUtils.

    Simple Properties.

    Indexed Properties.

    Mapped Properties.

    Nested Properties.

    Converters.

    Adding New Converters.

    Dynamic Beans.

    Enhancing DynaBeans.

    Summary.

9. Traversing Hierarchical Data with JXPath.

    Introduction to XPath.

    Using JXPath.

    Setting Values.

    Creating New Structures.

    A Few Notes on Defining New Contexts.

    Summary.

10. Database Tools.

    Hsqldb.

    Pooling Connections with DBC.

    Mapping Databases to Objects with OJB.

    Using OJB.

    Retrieving Data.

    More Sophisticated Queries.

    Lazy Evaluation.

    Related Tools.

    Hiding Persistence from Applications.

    Beyond This Book.

    Summary.

11. Logging.

    The Java.util.logging Package.

    Log4j.

    Beyond This Book.

    Summary.

12. Configuring Program Options.

    Jakarta CLI.

    Jakarta Digester.

    Beyond This Book.

    Summary.

13. Working with Text 1: Regular Expressions.

    Regular Expressions.

    ORO Regular Expressions.

    Jakarta Regexp.

    The JDK1.4 Pattern Matching Classes.

    Beyond This Book.

    Summary.

14. Working with Text 2: Searching.

    Creating Indices.

    Using Indices.

    Indexing Web Pages.

    Beyond This Book.

    Summary.

15. Creating Office Documents with POI.

    POIFS.

    Excel.

    Creating Spreadsheets.

    Templating.

    Word.

    Beyond This Book.

    Summary.

16. Scripting.

    Running BeanShell.

    The BeanShell Language.

    Functions.

    Implementing Interfaces.

    Full Java Compatibility.

    Calling BeanShell from Java.

    Motivation for Scripting.

    Beyond This Book.

    Summary.

17. Tomcat.

    Starting Tomcat.

    A Tour of Tomcat.

    Creating a Web Application.

    Security.

    Realms.

    Encryption and Server Validation.

    Client Certificates.

    Certificate-Based Authentication.

    Global Resources.

    Web-Based Management and Administration.

    Beyond This Book.

    Summary.

18. The Standard Tag Library.

    Tag Libraries.

    Tags with Bodies.

    Dynamic Attributes in Tags.

    Displaying Expressions.

    Formatting Output.

    Iteration in a Page.

    Conditionally Including Sections of a Page.

    Browser Detection.

    Combining Tags.

    Selecting between Multiple Choices.

    The SQL Tags.

    The XML Tags.

    Beyond This Book.

    Summary.

19. Struts.

    Some Common Controller Tasks.

    Struts: An Application Toolkit.

    Using Struts.

    Simplifying Form Beans with the Validator.

    Eliminating Form Beans.

    The Pros and Cons of Struts.

    Beyond This Book.

    Summary.

20. Cocoon.

    Building and Configuring Cocoon.

    Using Cocoon.

    Accessing Databases.

    Writing to Databases.

    The Pros and Cons of Cocoon.

    Beyond This Book.

    Summary.

Appendix A.

Index.


Features

An ideal launch point for Java developers seeking to better understand the popular Jakarta tools and how to most effectively use them.

° An example-packed introduction to the extremely popular open source suite of Jakarta tools

° Contains up-to-date coverage of Struts, Ant, Tomcat, Cactus, JUnit, and much more

° Helps readers simplify and streamline the development of Java applications by providing information on and examples of ready-to-use toolkits


Appropriate Courses
CS0223 Java--Programming for Technology (AW) [AW PROFESSIONAL]
CS0110 Java--Intro to Programming/CS1 (AW) [AW PROFESSIONAL]