cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Created: Overview
Date Fri, 06 Oct 2006 10:02:00 GMT
A new document has been created.

Document ID: 1258
Branch: main
Language: default
Name: Overview
Document Type: Cocoon Document
Created: 10/6/06 10:01:16 AM
Creator (owner): Reinhard Pötz
State: draft


Mime type: text/xml
Size: 1691 bytes

<p>Cocoon is a framework consisting of many different components. All these
components are managed by a component container. Starting with Cocoon 2.2 this
container is the <a href="">Spring framework</a>.
So the first step in setting up Cocoon is actually setting up the container and
configuring the Cocoon components in the container.</p>

<p class="note">In previous versions of Cocoon, the container was setup by
Cocoon itself which created a strong dependency between the container and Cocoon
and made integrating Cocoon with other frameworks very difficult.</p>

<p class="note">You can get a skeleton Cocoon application by using the Cocoon
archetypes for Maven 2 - so you don't need to do most of the stuff described
here by hand.</p>

<p>There are various ways to setup a Spring container (have a look at the Spring
documentation), but we suggest to setup a Spring application context using the
context loader listener in your web.xml:</p>

<p><strong>TBD: Show snipped from web.xml</strong></p>

<p>This context listener is invoked by the servlet container on startup of your
web application. By default the configuration for the application context is
read from the file "WEB-INF/applicationContext.xml". This is the place to
configure the Cocoon components:</p>

<p><strong>TBD: Show snipped from applicationContext.xml and explain it</strong>

<p>The main goal for the new Cocoon 2.2 configuration system is to avoid
patching of any provided configuration file (If you're familiar with previous
versions of Cocoon you might remember the patching of the cocoon.xconf or
web.xml to satisfy your project needs.)</p>


The document belongs to the following collections: cdocs-core

View raw message