Different composites can contain components with the same name. How can I reference the components if the composites are contributed to one SCA Domain?
You should consider that in order to enable 2 separate composites they need to be contributed to the domain in some way. For example, 1 – composites contributed as deployable 2 – included in other composites that are included as deployable composites 3 – named as component implementations using implementation.composite In cases 1 and 2 the composite is flattened out and become part of another composite. In case 1 this other composite is the virtual domain composite. The component name must be unique in this context.