Apache » Cocoon »

  Cocoon Spring Configurator
      2.0
   homepage

Cocoon Spring Configurator 2.0

Introduction

The Spring Configurator is a useful component providing support in common configuration issues when using the Spring framework. Although this product has been developed inside the Cocoon project, it is aimed at making easier the usage of Spring in each and every web application; it is not tied to the famous Cocoon web application framework and can be used standalone. The impact on your code is nearly zero and the Spring Configurator as only Spring itself as a dependency.

Motivation

When using a framework like Spring there are always the same problems to solve, like

  • Where do I store my bean configurations?
  • How can I parameterize them dynamically?
  • Where do I store these extra information?
  • How can I handle different environments like a testing environment, a development environment and a production environment?
  • How can I distribute not only code but also corresponding configurations?
  • How can I distribute partial web applications?
  • How do I manage hierarchial web application contexts?
Of course Spring is flexible enough to enable solutions to the above problems, but you have to do it and implement it for your solution. And there is more than one way of doing this and each and every project ends up developing its own "proprietary" solution. A best practice and a standardized way of doing these things would be great. And guess what, the Spring Configurator is the answer to your problems. Like Maven has standardized the build process, the Spring Configurator standardizes the way of dealing with various configuration issues with Spring. Ok, enough motivation, let's see what the Spring configurator can provide for your work.
Errors and Improvements? If you see any errors or potential improvements in this document please help us: View, Edit or comment on the latest development version (registration required).