Cocoon Internals
Referring back to Figure 8.1, we will now explore the Cocoon architecture from the top down. We will start with the core processing engine and move to the various components that are needed during processing.
The most important component is the Cocoon Processor. This component is the gateway to Cocoon. The processor encapsulates the whole Cocoon processing framework. It generates a document triggered by a request. So this is the processing of the usual request-response cycle.
As you can see from the interface shown in Listing 8.17, the method process has only one argument: an Environment object. This environment describes a single request and abstracts from the context Cocoon is currently running in. As you will see later, the ...
Get Cocoon: Building XML Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.