I found some issues about using cdi with ejbs, i'm not sure the best way to
fix (i fixed it locally but it is a bit too hardcoded i think).
1) the ManagedBeanComp and persistence context ref prevent deployement
-> cf org.apache.openejb.config.rules.CheckPersistenceRefs#validate
-> i skipped validation for this bean to test: if
(beanType.equals("Stateful") ||
"org.apache.openejb.BeanContext$Comp".equals(bean.getEjbClass())) continue;
2) LocalBean can't be producer (probably observer, i didn't check) since
openwebbeans is not able to get the business interfaces
-> cf first line of
org.apache.webbeans.ejb.common.util.EjbUtility#isBusinessMethod
any thoughts?
- Romain