You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Summary

Before you start reading the summary we would like to mention that we observe a quite good progress and over time CDI implementations are getting better.
We are aware that implementing a CDI container is not an easy task (esp. concerning real portability) and we have high respect for all committers who are working on a CDI implementation (currently: Weld, OpenWebBeans and CanDI). This page does not intend to blame a group of committers - it's just a summary of what was experienced/reported (by different users) so far.

We test all features with Apache OpenWebBeans which is very solid and currently offers a better performance than Weld.
However, we also have some tests and examples for Glassfish3/Weld. The problem is: so far every Weld release fixed some issues but also introduced at least one new major issue (at least up to v1.1.1 - some of them might be specific to a specific application server).
We already implemented a lot of workarounds for Weld. However, there are different Weld issue (in different versions) we can't bypass. We already filed several bug reports.
If you are facing a problem in combination with CODI, please contact our mailing-list. Since we know most of the issues the answer will be "Please use/try ..." or "Please file a bug report for Weld" or "We are aware of it and we already filed a bug report" or "You can try the manual workaround: ...". However, please contact us in any case because you might have found a new problem.

Besides that CODI v1+ provides special alternative packages which try to bypass as many issues as possible. We already have users who are using Glassfish3/Weld in combination with CODI for their projects successfully. However, users already saw new issues after updating the version of Weld they are using. That isn't specific to CODI - it's true for a lot of portable extensions like Seam3.

So if you prefer a more solid setup, we recommend Apache OpenWebBeans (and no - not because it's the CDI implementation hosted at Apache (wink) ). OpenWebBeans in combination with CODI is successfully used for several ! real world ! applications which serve millions requests a day. We hope to be able to add other implementations to this recommendation quite soon.

Tested environments

see Intro and Compatibility

  • No labels