Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It's quite easy to add CODI to your project. Just add the core as well as the module/s of your choice to the pom.xml of your project.

With JEE6+

If you are using CODI in a JEE6 environment, you don't need to configure a CDI implementation explicitly because it's shipped with the container. For some JEE6 application servers it's suggested to use the all-in-one dist package instead of the fine grained modules (due to server related issues).

Without JEE6+

Don't forget to setup the CDI implementation of your choice. If you would like to use CODI in combination with OpenWebBeans, you can also use the archetype provided by MyFaces.

Code Block
xml
xml
titleArchetype for creating a Hello-World CODI/OWB Demo

mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org

CODI-Core Module (required)

...