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: Module 13

Inside the book

Sample Chapters Table of Contents Source Code

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: Module 13
Understanding and Using Chain
Vikram Goyal

2005 | 12 pages
ISBN:
$5.00 PDF ebook  

Source Code

Some source code files have been made available for Jakarta Commons Online Bookshelf as a ZIP file.

Source Code - Module 13

DESCRIPTION

Chain is a recently released Commons component that has gained increased popularity because of its association with Struts. Chain is an implementation of the "Chain of Responsibility" pattern that advocates a series of commands being put together in a chain where commands are independent entities that have no knowledge of their predecessor or successor entity. Thus, commands work in isolation, with only a common "context".

This module explains the Chain component in great detail with full fledged examples. The "Chain of Responsibility" pattern is the basis for this component and this is highlighted with a simple example, which also shows how to create a basic chain of commands.

The biggest advantage of the Chain component is the fact that it is going to be used as the basis for the next RequestProcessor for Struts. This allows application developers to pre process web requests, without the need for extending the Struts RequestProcessor. This module shows how to do this with help of an example that builds Struts-Chain, tweaks the chain-config.xml, installs the Chain RequestProcessor for Struts and writes a Command class that pre processes a web request.

What's Inside

  • Introducing the Chain component
  • Using the Chain component
  • Struts and the Chain component
  • Summary
  • Index

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

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 Vikram Goyal - A collection of 14 ebook modules, each focused on one of the main Apache Jakarta Commons components.
Home | Catalog | Privacy Policy | About Manning

© 2003-2006 Manning Publications Co.