A new document has been created. http://cocoon.zones.apache.org/daisy/documentation/1260.html
Document ID: 1260 Branch: main Language: default Name: Introduction Document Type: Cocoon Document Created: 10/6/06 10:11:54 AM Creator (owner): Reinhard Pötz State: publish Parts ===== Content ------- Mime type: text/xml Size: 1691 bytes Content: <html> <body> <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="http://www.springframework.org">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> <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> </body> </html> Collections =========== The document belongs to the following collections: cdocs-core