Setting up a repository

Norbert Hartl norbert at hartl.name
Thu Apr 17 20:39:57 UTC 2008


On Thu, 2008-04-17 at 17:54 +0100, Keith Hodges wrote:
> Norbert Hartl wrote:
> >>> 4. Is acceptable/possible to have more than 1 repository to 1 system ?
> >>>       
> >> Yes, not only is it acceptable, it is recommended to partition your
> >> domain by meaningful boundaries.  For example, in my system I separate
> >> the Accounting domain from the Contacts; each in their own repository,
> >> even though Accounts reference Contacts residing in the other
> >> repository.  This is accomplished via MagmaForwardingProxy.
> >>
> >> This partitioning provides many benefits.
> >>
> >>     
> > That sounds very good. How does the forwarding proxy know where to reach
> > the object? Does the proxy know some repository id and that will work as
> > long as I have a session open pointing to the corresponding repository?
> >
> > thanks,
> >
> > Norbert
> >   
> The "Magma seasideHelper" framework has code for this partitioning. You 
> define a root object for each partition or domain, and then use
> aMagmaSessionHelper rootAs: TheDomainRootClass to return the appropriate 
> root object... well at least that is the theory. I havent had as much 
> chance as I would like to test this out fully.
> 
So, this will also work on an arbitary number of magma databases on 
several hosts? 

Norbert



More information about the Magma mailing list