Manning Logo
Home | Ordering Info | Shopping Cart | Manage My Account | Login
Attention customers: online shopping is now available exclusively through our main website: http://www.manning.com. Thank you.
Jakarta Commons Online Bookshelf

Inside the book

About this Book Acknowledgements Sample Chapters Table of Contents Preface Source Code Author Online

Manning Blog

Why small is sweet?

Author Blogs

Dave Crane more...

Author Calendar

Upcoming Events

Catalog

Java .NET Perl XML All by Subject All by Title

About...

Manning Contact Us Ordering FAQs ebooks Covers Sandbox Forums Distributors Manning Early Access Program (MEAP) Affiliate Program Academia/Publicity User Group Program Press Releases Jobs

Manning Publications Co.
209 Bruce Park Avenue
Greenwich, CT 06830

Jakarta Commons Online Bookshelf
Vikram Goyal

2005 | 402 pages
ISBN:
$39.95 PDF ebook  

About this Book

Jakarta Commons Online Bookshelf provides detailed technical information about 18 components from Jakarta Commons Proper and 1 component from the Commons Sandbox (Chain, module 13). Modules, which can be purchased individually from the Manning web site at www.manning.com/goyal, are organized roughly according to related concepts, as follows:

  • Web related—HttpClient (module 1); FileUpload (module 2); Net (module 3)
  • XML related—Digester (module 4); JXPath and Betwixt (module 5)
  • Packages—Validator (module 6); Collections (module 7); BeanUtils and Lang (module 8)
  • Utilities—Pool and DBCP (module 9); Codec (module 10); Modeler (module 11); CLI (module 12)
  • Frameworks—Chain (module 13); Logging and Discovery (module 14)

To cater to this book’s various audiences, each module is organized in a similar format; each module is divided into sections with their own area of relevance. You can skip sections, depending on whether you’re reading from a software developer’s point of view or that of a technical architect. However, the boundaries between the sections aren’t hard and fast, and there is nothing stopping you from reading a module from start to finish.

The structure of each module is as follows:

  1. Introduce a component.
  2. Develop the background for the component’s technology.
  3. Explain the technology with examples, if necessary.
  4. Explain the component’s structure.
  5. Show beginning to intermediate (to advanced, in some cases) examples of using the component.

If you’re a software developer, and you aren’t interested in the background technology of a component, you can skip the beginning of each module and jump to later sections. On the other hand, if you want detailed information about the technology behind each component—for example, if you want to know about a component’s background protocols and rationale—you may want to read the first part.

To make the best use of this book, I suggest that you do read the information about the background technologies before you try the examples. This is especially important for components that involve varied and obscure technologies, such as Modeler (module 11). Knowing how Dynamic MBeans work makes the task of understanding the Modeler component much easier.

What’s covered?

As I said before, this book provides detailed examples and thorough background information about 18 Commons components. This section gives you a bird’s-eye view of what is covered in each module:

  • Module 1, HttpClient—A component that helps you deal with the client side of HTTP.
  • Module 2, FileUpload—The server end of the processing required for uploading files.
  • Module 3, Net—Provides implementations for a diverse range of Internet protocols like FTP, SMTP, NNTP, and so on.
  • Module 4, Digester—An XML-to-Java object mapping technology to help parse XML configuration files.
  • Module 5, JXPath and Betwixt—JXPath traverses complex objects using the XPath syntax, whereas Betwixt is a Java-XML mapping tool.
  • Module 6, Validator—Provides a guideline and API for validating user data from any source.
  • Module 7, Collections—Leverages the Java Collection API by providing several new collection classes and enhancements for existing ones.
  • Module 8, BeanUtils and Lang—BeanUtils works with the Java Reflection and Introspection API to provide access to JavaBeans properties, whereas Lang enhances the classes of the java.lang API.
  • Module 9, Pool and DBCP—Pool is an object pooling architecture, whereas DBCP is a precise implementation that uses it to manage database connections.
  • Module 10, Codec—Provides several common (and some not-so-common) encoding and decoding routines.
  • Module 11, Modeler—Provides an easy way to manage Model MBeans, which are used in Java Management Extensions.
  • Module 12, CLI—Provides an easy-to-use interface to deal with application startup options.
  • Module 13, Chain—An implementation of the Chain of Responsibility pattern.
  • Module 14, Logging and Discovery—Logging is used as a wrapper around existing logging implementations. Discovery is an attempt to provide common resource-finding services.

Each module is independent of the others, so you can jump straight to the component of your choice. There are no dependencies on prior learning; for example, knowing about Logging isn’t a prerequisite to learning about any other component. However, it’s expected that you know about Java, know how to download each component, know how to set Java CLASSPATH, and know how to code and compile. However, if you’re reading this book without doing any coding, you don’t need to know how to download or compile the components. The background reference material doesn’t assume any coding experience.

You can access each component’s web page by going to http://jakarta.apache.org/commons and following the individual links.

DESCRIPTION

Written for developers and architects with real work to do, the Jakarta Commons Online Bookshelf is a collection of 14 PDF modules, each focused on one of the main Commons components. Commons is a collection of over twenty open-source Java tools broadly ranging from logging, validation, bean utilities and XML parsing. The Jakarta Commons Online Bookshelf summarizes the rationale behind each component and then provides expert explanations and hands-on examples of their use. You will learn to easily incorporate the Jakarta Commons components into your existing Java applications.

Why spend countless hours writing thousands of lines of code, when you can use the Jakarta Commons re-usable components instead? Each of the packages is independent of the others, and Manning lets you pick which of the Commons components you want to learn about. Each Module can be purchased separately or purchased together in the entire Jakarta Commons Online Bookshelf.

Why is Jakarta Commons so popular? Because it provides re-usable solutions to your everyday development tasks. Make your work life better starting today. Purchase one of the modules or the entire Bookshelf and get the guidance of an experienced Jakarta Commons pro.

WHAT THE READERS SAY ABOUT THIS BOOK...

"Great stuff! This is the ultimate missing manual to Jakarta Commons."
--Glen Smith, J2EE Consultant, Bytecode Pty Ltd

"...this manuscript is packed with incredibly useful information."
--Dirk Verbeeck, Jakarta Project Management Committee

"...has something for every developer. Well organized and structured."
--Robert Burrell Donkin, Apache Jakarta Commons Committer

"It is extremely well written, has outstanding examples that work, and provides excellent documentation."
--Doug Warren, Software Architect, Leading diversified financial services company

"Vikram's articles for O'Reilly mean that he's got as high visibility as anyone for Commons literature. The articles are linked from the Commons site itself."
--Henri Yandell, Jakarta PMC Chair

"Chapter 4 is on Digester, which I always think is a hard one to understand and Vikram does a solid job there."
--Henri Yandell, Jakarta PMC Chair

"There is ample background, context, and in-depth information to complement freely available materials."
--Yoav Shapira, Jakarta Commons Committer

"Very well written. Interesting, engaging, sometimes humorous in a good way"
--Yoav Shapira, Jakarta Commons Committer

ABOUT THE AUTHOR...

Vikram Goyal, author of Beginning JSP 2.0 and Professional JSP Site Design, regularly writes how-to articles on open source projects. His series of articles on Jakarta Commons was the first such effort to make sense out of the chaotic world of Jakarta Commons. His article series is still reflected in the official main entry page of Jakarta Commons as the only online series covering these components. Vikram is a Sun Certified Programmer for the Java 2 Platform. Vikram lives in Brisbane, Australia.

Related Titles

  • Jakarta Commons Online Bookshelf: Module 1 Browsing with HttpClient Vikram Goyal - A component to help deal with the client side of HTTP.
  • Jakarta Commons Online Bookshelf: Module 2 Uploading files with FileUpload Vikram Goyal - The server end of the processing required for uploading files.
  • Jakarta Commons Online Bookshelf: Module 3 Handling Protocols with the Net Component Virkam Goyal - Provides implementations for a diverse range of Internet protocols, like FTP, SMTP, NNTP etc.
  • Jakarta Commons Online Bookshelf: Module 4 XML Parsing with Digester Vikram Goyal - An XML to Java Object mapping technology to help parse XML configuration files.
  • Jakarta Commons Online Bookshelf: Module 5 JXPath and Betwixt: Working with XML Vikram Goyal - JXPath provides traversal of complex objects using the XPath syntax, while Betwixt is a Java-XML mapping tool.
  • Jakarta Commons Online Bookshelf: Module 6 Validating Data with Validator Vikram Goyal - Provides a guideline and API for validating user data, from any source.
  • Jakarta Commons Online Bookshelf: Module 7 Enhancing Java Core Libraries with Collections Vikram Goyal - Leverages the Java Collection API by providing several new collection classes and enhancements for existing ones.
  • Jakarta Commons Online Bookshelf: Module 8 Enhancing Java Core Libraries with BeanUtils and Lang Vikram Goyal - BeanUtils works with the Java Reflection and Introspection API to provide access to JavaBeans properties, while Lang enhances the classes of the java.lang API.
  • Jakarta Commons Online Bookshelf: Module 9 Pool and DBCP: Creating and Using Object Pools Vikram Goyal - Pool is an Object Pooling architecture, while DBCP is a precise implementation that uses it to manage database connections.
  • Jakarta Commons Online Bookshelf: Module 10 Codec: Encoders and Decoders Vikram Goyal - Provides several common, and some not so common, encoding and decoding routines.
  • Jakarta Commons Online Bookshelf: Module 11 Managing Components with Modeler Vikram Goyal - Modeler provides an easy way to manage Model MBeans, used in Java Management Extensions.
  • Jakarta Commons Online Bookshelf: Module 12 Command-line Processing with CLI Vikram Goyal - Command Line Interrogation or CLI, provides an easy to use interface to deal with application start up options.
  • Jakarta Commons Online Bookshelf: Module 13 Understanding and Using Chain Vikram Goyal - Chain is an implementation of the "Chain of Responsibility" Pattern.
  • Jakarta Commons Online Bookshelf: Module 14 Working with the Logging and Discovery Components Vikram Goyal - Logging is used as a wrapper around existing Logging implementations. Discovery is used to provide common resource finding services.
Home | Catalog | Privacy Policy | About Manning

© 2003-2006 Manning Publications Co.