the myfaces-stack demo at
https://github.com/os890/tomee_mf_stack_001 (later added to the tomee
examples) is a codi-feature-demo which includes the most important features of codi compacted in few jsf pages and classes. a second branch (
https://github.com/os890/tomee_mf_stack_001/tree/codi2ds) in the same repository shows the needed changes to migrate such a codi application to deltaspike (currently v0.5).