On Aug 23, 2012, at 2:15 PM, Romain Manni-Bucau wrote:
> 2) about hierarchy:
> a) beancontext should be in appcontext since it is global so it should
> be in the root tag that's why current implementation uses BeanContexts as
> parent, wonder if we should support Ejbs and Ejb instead of BeanContexts
> and BeanContexts
It's not so cut and dry. DeploymentIds are global, ejbNames are not. If
someone sets the openejb.deploymentid.format to say
"{appName}/{moduleName}/{ejbName}" then that would break a descriptor that is
using just `<BeanContext id="MyEjbName">`
If we want the BeanContext id to be the ejbName, we need to know what module it
lives in.
-David