Thanks a lot. Three is enough for me. How could I use these stores in my program? I mean how could I choose the store to save files or data in runtime? I want to save files to file system , and put metadata into database.
Thank you very much.
Haipeng



From: "James Mason" <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: Multiple stores
Date: Wed, 30 Jun 2004 16:56:10 -0700

I don't know what the practical limit for the number of stores is, but I'm using three at the moment and I don't see any reason you couldn't do more than that.

In the Domain.xml file you need to configure each Store and give it a unique name, then you need to put each Store at a unique path using the scope elements. Here's an example:

        <scope match="/" store="main"/>
        <scope match="/users" store="users"/>
        <scope match="/roles" store="roles"/>

If you put the stores at non-standard locations you'll need to <objectnode> elements to the <data> section in order to get things initialized properly.

-James

>>> [EMAIL PROTECTED] 6/30/2004 3:26:26 PM >>>
Is that possible use multiple stores at the same time? If so, how could I do
that?
thanks a lot.
haipeng


_________________________________________________________________
MSN 9 Dial-up Internet Access fights spam and pop-ups � now 3 months FREE!
http://join.msn.click-url.com/go/onm00200361ave/direct/01/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page � FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to