You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Kimbro Staken <ks...@xmldatabases.org> on 2002/07/16 19:10:33 UTC
Xindice Embedded
I've been hoping to do a little more work on this before announcing it
here, but I'm a little short on time right now so... Last week I added an
embedded XML:DB driver to the Xindice tree. You can use it by changing the
xmldb URI to xmldb:xindice-embed:// instead of xmldb:xindice. It still
needs a lot of work, but does pass the basic tests I have. Obviously, you
need to move to the CVS version of the server to use it. I made a lot of
changes to the tree last week, so if you use it and things are broken
please post about it and understand it might be a day or two before I'll
have time to fix it.
Thanks
Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
Re: Xindice Embedded
Posted by Kimbro Staken <ks...@xmldatabases.org>.
The xindice driver uses XML-RPC over the network, the xindice-embed driver
loads the database into the same process and doesn't have anything to do
with the network. Other then that the goal is for them to be functionally
identical.
I haven't written the configuration part of the embedded driver yet, so
right now it just creates a database in the working directory of the
process that started it.
On Tuesday, July 16, 2002, at 10:56 AM, Vladimir Bossicard wrote:
> Kimbro,
>
>> Last week I added an
>> embedded XML:DB driver to the Xindice tree. You can use it by changing
>> the
>> xmldb URI to xmldb:xindice-embed:// instead of xmldb:xindice.
>
> can you briefly explain the differences between the xindice-embed and
> the xindice drivers?
>
> Thanks
>
> -Vladimir
>
> --
> +---------------------------------------------------------------------+
> Vladimir Bossicard mailto:vladimir.bossicard@adnovum.com
> Software Engineer MS Computer Science ETH
>
> AdNovum Software Inc. San Mateo, CA 94404 phone: +1 (650) 525 9322
> 1400 Fashion Island Boulevard, Suite 309 fax: +1 (650) 525 9324
> +---------------------------------------------------------------------+
> AdNovum Informatik AG http://www.adnovum.ch phone: +41 (1) 272 6111
> Roentgenstrasse 22, CH-8005 Zuerich fax: +41 (1) 272 6312
> +---------------------------------------------------------------------+
>
>
Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
Re: Xindice Embedded
Posted by Vladimir Bossicard <vl...@adnovum.com>.
Kimbro,
> Last week I added an
> embedded XML:DB driver to the Xindice tree. You can use it by changing the
> xmldb URI to xmldb:xindice-embed:// instead of xmldb:xindice.
can you briefly explain the differences between the xindice-embed and
the xindice drivers?
Thanks
-Vladimir
--
+---------------------------------------------------------------------+
Vladimir Bossicard mailto:vladimir.bossicard@adnovum.com
Software Engineer MS Computer Science ETH
AdNovum Software Inc. San Mateo, CA 94404 phone: +1 (650) 525 9322
1400 Fashion Island Boulevard, Suite 309 fax: +1 (650) 525 9324
+---------------------------------------------------------------------+
AdNovum Informatik AG http://www.adnovum.ch phone: +41 (1) 272 6111
Roentgenstrasse 22, CH-8005 Zuerich fax: +41 (1) 272 6312
+---------------------------------------------------------------------+
RE: debug mode
Posted by Aline <al...@webcaster.fr>.
> What do you mean by "debug mode"?
When I start xindice, a console is opened and all the exceptions appear in
it with the prompt DEBUG> before.
Is there a way to disable this or to redirect the messages because when an
exception is thrown, the computer ring.
>
> On Thursday, July 18, 2002, at 07:57 AM, Aline wrote:
>
> > Hi,
> >
> > Does anyone know how to disable the debug mode on windows when Xindice
> > starts?
> >
> > Thanks
> > Aline
> >
> >
> Kimbro Staken
> Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
> Apache Xindice native XML database http://xml.apache.org/xindice
> XML:DB Initiative http://www.xmldb.org
>
>
Re: debug mode
Posted by Kimbro Staken <ks...@xmldatabases.org>.
What do you mean by "debug mode"?
On Thursday, July 18, 2002, at 07:57 AM, Aline wrote:
> Hi,
>
> Does anyone know how to disable the debug mode on windows when Xindice
> starts?
>
> Thanks
> Aline
>
>
Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
debug mode
Posted by Aline <al...@webcaster.fr>.
Hi,
Does anyone know how to disable the debug mode on windows when Xindice
starts?
Thanks
Aline
Re: I'm back
Posted by Kimbro Staken <ks...@xmldatabases.org>.
VERY glad to see your back. :-) It's been pretty lonely around here lately.
The most important thing to do right now is stabilize enough that we can
do a alpha/beta release of 1.1. I'm hoping we can add a few of the more
commonly asked for features that don't require major surgery, but overall
getting a new release out that fixes as many of the common bugs as
possible should probably be our priority.
I finally have access to bugzilla so as soon as I have the time I'll set
it up so that we can start tracking issues.
Here's what I think we need to do before we can get 1.1 out for wider
testing.
- Better test and stabilize the new XML-RPC based XML:DB API and the new
embedded XML:DB API.
- Finish implementing compressed document support over XML-RPC. I
implemented it for GetDocument to figure out how it works, so I just need
to add it in other places as well.
- Make sure we get better / more useful error messages out of the server.
From what I've seen of what you did with XML-RPC, it's already quite a bit
better, but I'm hoping we can review this more so we stop seeing errors
with just numbers or other unhelpful things.
- Update the documentation. I've been doing some of this, but we have no
documentation on the new XML-RPC API or the embedded API and the docs
still talk about CORBA.
- Decide about XMLObjects. In particular I'd like your opinion here, as I
know you were using them. I'd like to replace them with a simpler custom
message facility for XML-RPC. If we decide to do that, then we need to
implement that facility. Otherwise we need to fix XMLObjects, which I
completely broke again.
A few simple features that we should probably add.
- The ability to get query results without the document key and collection
being added to the result.
- Through XML-RPC the ability to request partial results on queries. i.e.
results 1-10, 11-20 and so on. There's no way to expose this through the
XML:DB API, but having it in XML-RPC would be a start.
- Full parsing of documents on the client. Basically we'd just send the
compressed byte array from the client to the server. This would also allow
us to support simple schema and DTD validation on insertion by simply
providing a way to utilize those features in Xerces. This would be
implemented as part of the XML:DB API.
Whatever else we can do to make this thing more useful to people.
I've started looking at doing an update to the XML:DB API to fix the
issues that it has. Unfortunately, it will be a pretty major change and
won't at all be backwards compatible. I'm not sure how to go about this
yet.
Anyway, let me know what you want to tackle or point out any things that I'
m missing.
On Wednesday, July 17, 2002, at 04:03 PM, Kurt Ward wrote:
> Hey guys-
>
> I'm moved and back up and running for the most part. Looks like Kimbro
> has
> been busy with changes for a 1.1 release, very cool. What can I do to
> help?
> Command line tools? XML-RPC optimization? ???
>
> Kurt
>
>
Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
I'm back
Posted by Kurt Ward <ku...@yahoo.com>.
Hey guys-
I'm moved and back up and running for the most part. Looks like Kimbro has
been busy with changes for a 1.1 release, very cool. What can I do to help?
Command line tools? XML-RPC optimization? ???
Kurt
Re: Xindice Embedded
Posted by Kimbro Staken <ks...@xmldatabases.org>.
I guess it is the embedded version, or at least the XML:DB API part of it
anyway. It's simply that while I was refactoring the XML-RPC based XML:DB
driver I realized it would only take me an hour or two to add this new
version. So I just went ahead since this is one of the commonly asked for
features and was something that I really wanted to have too.
I'm sure there are many other enhancements that can be made as we get more
people thinking about using Xindice in an embedded fashion. For instance
the observer patch that Dave Viner posted is pretty interesting.
On Tuesday, July 16, 2002, at 11:06 AM, Mark J. Stang wrote:
> Kimbro,
> How is this different then the "Embedded Version"?
>
> thanks,
>
> Mark
>
> Kimbro Staken wrote:
>
>> I've been hoping to do a little more work on this before announcing it
>> here, but I'm a little short on time right now so... Last week I added an
>> embedded XML:DB driver to the Xindice tree. You can use it by changing
>> the
>> xmldb URI to xmldb:xindice-embed:// instead of xmldb:xindice. It still
>> needs a lot of work, but does pass the basic tests I have. Obviously, you
>> need to move to the CVS version of the server to use it. I made a lot of
>> changes to the tree last week, so if you use it and things are broken
>> please post about it and understand it might be a day or two before I'll
>> have time to fix it.
>>
>> Thanks
>>
Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
>
> --
> Mark J Stang
> System Architect
> Cybershop Systems
>
>
Re: Xindice Embedded
Posted by "Mark J. Stang" <ma...@earthlink.net>.
Kimbro,
How is this different then the "Embedded Version"?
thanks,
Mark
Kimbro Staken wrote:
> I've been hoping to do a little more work on this before announcing it
> here, but I'm a little short on time right now so... Last week I added an
> embedded XML:DB driver to the Xindice tree. You can use it by changing the
> xmldb URI to xmldb:xindice-embed:// instead of xmldb:xindice. It still
> needs a lot of work, but does pass the basic tests I have. Obviously, you
> need to move to the CVS version of the server to use it. I made a lot of
> changes to the tree last week, so if you use it and things are broken
> please post about it and understand it might be a day or two before I'll
> have time to fix it.
>
> Thanks
>
> Kimbro Staken
> Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
> Apache Xindice native XML database http://xml.apache.org/xindice
> XML:DB Initiative http://www.xmldb.org
--
Mark J Stang
System Architect
Cybershop Systems