Cocoon is based on theÂ Spring 2.0Â framework. The Spring Configurator and the Servlet ServiceFramework are two subprojects having Spring as main dependency. Itâ€™s important to note that both can be reused outside ofÂ Cocoon Core.
TheÂ Spring Configurator provides basic support for configuring web applications that make use of Spring. TheÂ Servlet ServiceÂ Framework enables modularization based on theÂ javax.servlet.Servletinterface. Those servlet services areÂ polymorphic.
Cocoon Core provides implementations of a sitemap engine and of pipelines. It also establishes a contract to add modules. The unit of modularization inÂ Cocoon is called blocks.
In particular it makes it easy to support multiple output formats, comes with a JSR-168 compatible Portal implementation and offers continuation based web controller implementations.
Key Features ofÂ Apache Cocoon 2.2.0:
Dynamic multi-channel webÂ publishing (see below for the possible datasources and output formats)
Â· Create static content (automatically) by separating data from view
Â· Offline generation modes with Cocoonâ€™s own offline facilities: command-line interface (CLI), ant task, bean. Also withÂ Apache Forrest which utilisesÂ Cocoon.
Â· Dynamic document preparation withÂ Apache Forrest, the â€˜forrest runâ€™ mode. Use many different data input formats, see the transformed result immediately in the browser.
Â· Advanced web applications with J2EE integration (with separation of your data, the view and the flow logic â€“> this really means you can change one of the parts without touching another)
Â· Develop your company portal using theÂ Cocoon PortalÂ framework
Â· Support multiple clients, layouts and languages (i18n) without code duplication
Â· IntegrateÂ Cocoon with your existing web applications or use it to put a better face on them (page scraping)
Â· Add full-text search to any datasource that can be converted toÂ XML (see below)
Â· UseÂ Cocoon as the base for Enterprise Application Integration (EAI)
Â· UseÂ Cocoon as the base for your Content Management System (CMS) (seeÂ Apache Lenya, Daisy CMS and Hippo CMS)
Â· UseÂ Cocoon for producing mobile content (mobile phones, PDAs)
Â· Datawarehouse reporting across multiple formats (see xReporter)
Cocoon 2.2 (stable)
Our latest version ofÂ Cocoon is 2.2. The best way to get familiar withÂ Cocoon 2.2 and how to use it together with Maven 2 is theÂ Getting started tutorial. If you follow that path, Maven 2 will take care of downloading all (transitive) dependencies.
However, there is also aÂ Getting Started package that contains a simpleÂ Cocoon 2.2 based application that usesÂ Apache Ant as build system.
|Cocoon2.2.0||Cocoon Core (pipelines, sitemaps, servlet): sources, binaries, javadocs and docs.||cocoon-2.2.0.zip||pgpmd5sha1|
|Getting Started2.2.0||A simple web application based onÂ Cocoon 2.2 that makes use of blocks and servlet services.||cocoon-getting-started-2.2.0-zip||pgpmd5sha1|