Raj Saini wrote:
> I am working on experimental project to run the OFBiz framework in a
> OSGi kernel and thereby creating OSGi bundle from various framework
> components. I have created bundles for entity and service engine and
> could launch entity and service engine as OSGi Service. Although  entity
> engine is fairly independent of service engine at compile, there is run
> time circular dependency though entityext component because
> org.ofbiz.entity.config.DelegatorInfo class (in entity component) 
> depends on org.ofbiz.entityext.cache.EntityCacheServices and
> org.ofbiz.entityext.cache.EntityCacheServices.depends on LocalDispatcher
> class of service engine.
> 
> This circular dependency is stopping me a creating separate bundle for
> entity and service engine. Is it possible to remove this dependency to
> keep the entity engine independent of service engine?

Huh?  There are no circular deps during the compile.  That class is
only referenced by use of a String.  GenericDelegator then tries to
load the class, and if it fails, just issues a warning.

So, is this really a problem?  I don't see that it is.

Reply via email to