Apache Chain
u:seth  (x)

There is no description for this tag. Help us add a description for this tag by clicking 'Edit Tag Description'

editEdit Tag Description

The Apache Chain library provides a support structure for easily separating your application based on logical commands. This tutorial will help by showing basic examples using the Apache Chain interfaces.

Note created 3 years ago

This diagram shows and describes the core functionality of each of the core interfaces used in Apache Chain

Class Diagram modified 4 years ago

This diagram shows how to link together a set of commands so they can be executed in series whithin the same context. The SellVehicleContext allows for the customer's name to be easily stored and retrieved by the separate commands. See http://onjava.com/pub/a/onjava/2005/03/02/commonchains.html?page=1 for more info


This is a short example of how to create your own Apache Chain Command and Context. By extending the core interfaces you can easily create a complex compartimentalized application separating business logic in commands from the presentation logic necessary to display the results. See the chain cookbook for more details on this example.


A closer look at the structure of the Web package. We can see that there are relatively few intrapackage dependencies. However many of the classes in subpackages depend on MapEntry and other classes in the web package. Also notice the the ChainServlet, ChainLIstener, and ChainResource are highly interdependent.


The topmost level contains 5 interfaces which are used by the various subpackages to implement different parts of the Chain functionality. Also notice that the web package contains the most classes/complexity

Layered Diagram created 4 years ago

Explore Packages

Explore Classes

Additional Links
Home Page
Help out!
Add Tag
Add Link
Add Image
Add Note
Request Content
Layered Diagram (2) Note (1) Class Diagram (3)
Filter by tags
apache (4) chain (4) command (2) context (1) structure (2) tutorial (1) web (1)
Abhishek Rakshit
Vineet Sinha
Seth Rosen
See All