On Jul 11, 2010, at 5:34 AM, Gurkan Erdogdu wrote: > Hello folks; > > As of https://issues.apache.org/jira/browse/OPENEJB-1197, I have implemented > initial version of the integration between OpenEJB and OpenWebBeans. This > code > is not perfect but at least we could discuss based on it regrading how we > could > proceed next.
Hi Gurkan! This is a decent start. I recreated our cdi branch and checked the code in there. Build status is 67 failures and 25 errors, but that is to be expected :) So one of the things we should nail down is exactly what is the "reach" of the BeanManager implementation. It's currently implemented as a per classloader VM singleton, but OpenEJB lets you create multiple applications in the same classloader (common for the embedded case). This appears overall with the general WebBeansFinder.getSingletonInstance use. Ideally we'd be able to just create the BeanManager and related objects once per app and not use a vm static to lookup those things. Thoughts? -David
