Apache Chain
chain  (x)

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

editEdit Tag Description
 

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
Types
Layered Diagram (2) Class Diagram (2)
Filter by tags
apache (4) command (2) context (1) structure (2) tutorial (1) web (1)
Contributors
Abhishek Rakshit
Vineet Sinha
Seth Rosen
CodeMaps
See All