RE: FW: Configuring an XML:DB database
Hello Everyone, I would also like to know the status of this task! Thanks, Trevor. -Original Message- From: Vladimir R. Bossicard [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 6:04 AM To: [EMAIL PROTECTED] Subject: Re: FW: Configuring an XML:DB database Hi all, any news on this? -Vladimir -- Vladimir R. Bossicard www.bossicard.com -- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe:mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ -- -- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe:mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ --
Re: FW: Configuring an XML:DB database
Hi all, any news on this? -Vladimir -- Vladimir R. Bossicard www.bossicard.com -- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe:mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ --
Re: FW: Configuring an XML:DB database
What about the Configurable interface? Database extends this interface. What do you mean by a very good support? More about the subject: If you have a Configurable interface, you still need to trigger the initialization (after all configurations are done). One possibility is to do it in the getCollection method: public Collection getCollection() { if (!initialized) { ... initialize the system ... initialized = true; } } The problem with this approach is the potential delay between the configuration and the actual intialization and the feedback you may receive. If you set up your system and for example the database's location is unreacheable, when would you like to receive the notification? when you start your server or when a user call the getCollection method, potentially hours after you started the server? Both alternatives are justifiable and I think that the API should provide a way to implement them both (i.e. introduce an 'init' method to initialize the system). -Vladimir -- Vladimir R. Bossicard www.bossicard.com -- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe:mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ --
Re: FW: Configuring an XML:DB database
On Mon, 11 Nov 2002 10:11:28 -0800 Vladimir R. Bossicard [EMAIL PROTECTED] wrote: What about the Configurable interface? Database extends this interface. What do you mean by a very good support? but after setting several properties (like database location), you usually still need an 'init()' method. Maybe an 'Initializable' interface could solve the problem? Normally you should use getCollection() right after setting your properties with setProperty(). Wolfgang can you send an example of usage to the mailing list so that every interested developer can read/understand your intention to introduce an configure() method!? Thanks, Lars. -- __ Lars Martin mailto:[EMAIL PROTECTED] SMB GmbHhttp://www.smb-tec.com D-04347 LeipzigRohrteichstrasse 18 Tel: +49-(0)341-699 46 04Fax: +49-(0)341-699 47 04 Product Management BusinessServer BS1 -- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe:mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ --
Re: FW: Configuring an XML:DB database
On Fri, 08 Nov 2002 09:13:07 -0800 Vladimir R. Bossicard [EMAIL PROTECTED] wrote: There has been some discussion on the eXist mailing list on how to configure an XML:DB database. Currently the API does not provide a very good support for this IMHO. If we could add a configure method to a Database instance that takes a DOM document as a parameter it would provide good flexibility for this. What do think about adding something like configure(org.w3c.dom.Document configuration); to the org.xmldb.api.base.Database interface? +1 from one of the Xindice guys Other opinions? What about the Configurable interface? Database extends this interface. What do you mean by a very good support? Regards, Lars -- __ Lars Martin mailto:[EMAIL PROTECTED] SMB GmbHhttp://www.smb-tec.com Tel: +49-(0)341-699 46 04Fax: +49-(0)341-699 47 04 Product Management BusinessServer BS1 -- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe:mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ --
Re: FW: Configuring an XML:DB database
What about the Configurable interface? Database extends this interface. What do you mean by a very good support? but after setting several properties (like database location), you usually still need an 'init()' method. Maybe an 'Initializable' interface could solve the problem? -Vladimir -- Vladimir R. Bossicard www.bossicard.com -- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe:mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ --