Hi Experts, I would like to embed OfBiz with a module environment (not OSGi - but sufficiently similar to think OSGi if that helps) and for multiple tenants on one VM. The latter is the the stronger requirement for me. But as far as modularization is concerned, Ofbiz seems to be in good shape: The individual logical projects (under framework and applications) that are all packaged up as one Eclipse project can be broken up into smaller projects that have a beautiful and meaningful dependency chain and still compile (at least). Executing them is probably another story.
Now in terms of multi-tenant usage, I would love to be able to run different "instances" of OfBiz within the same server. So every tenant would get its own OfBiz configuration (including its own data source configuration). OfBiz features would actually be something additional, integrated with another application and OfBiz would not be the leading infastructure. I remember having seen some similar discussions on the mailing list some time ago - they all seemed to go nowhere. To me it seems that using OfBiz as the fundamental functional underpinning and toolbox for anything eCommerce is a very natural path to follow, but it should not have unbreakable ties to exactly one underlying infrastructure. I understand that OfBiz has spent some effort into creating its own module system (kind of) - that's perfectly fine and seeing OfBiz run out-of-the-box after 5min. is perfect. However, other places, other infrastructures. Anyway, if anybody has a pointer to something that is similar to what I described above or some success story, it would be great, if you could let me know. Of course, if there is good reasons why this cannot work w/o touching OfBiz in an unknown but huge number of places that would also be valuable information. If I end up getting it done myself and if there is interest, I will be happy to share my experience. Thanks, Henning
