You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Ahmed El-dawy <as...@gmail.com> on 2005/10/29 13:12:03 UTC
Connecting to database without running server
Hello,
I am new to Xindice. I tried some examples from the internet and it
worked, but I have to run the server before running my applications.
This allows it to connect to the database.
I don't want to run the server because my application runs locally
and I don't want to disturb the user with the server. I need to
connect to the database from my application only, the path of the
database is relative to the program.
I need something like IBM CloudScape but with XML.
Thanks in advance
--
regards,
Ahmed Saad
Re: Connecting to database without running server
Posted by Neil Cook <nc...@acm.org>.
Dear Ahmed,
This question has been posed on the list before. This:
http://marc.theaimsgroup.com/?l=xindice-users&m=108275386813198&w=1
is a link to a message where the question was answered. I think that
there might even have been some sample code provided at some time.
Search the email archives for it and check the web site. I believe that
the code to use it as you wish is quite straightforward.
The example code at:
http://xml.apache.org/xindice/guide-developer.html#Diving+in+With+an+Example+Program
does not use the embedded driver. However, the email message indicates
the name of the drive you want to use. You might want to search the
email archives for that driver name to find sample code using it.
/Neil
Ahmed El-dawy wrote:
> I did not find examples of this type of connection. I found examples
> which requires a server to be running. Can you provide a simple
> example for connection without a server?
> Thanks alot
>
>
> On 10/29/05, Neil Cook <nc...@acm.org> wrote:
>
>>It is possible to run Xindice embedded with your application. It should
>>be transparent to the user and inaccessible to other applications.
>>
>>/Neil
>>
>>Ahmed El-dawy wrote:
>>
>>>Hello,
>>> I am new to Xindice. I tried some examples from the internet and it
>>>worked, but I have to run the server before running my applications.
>>>This allows it to connect to the database.
>>> I don't want to run the server because my application runs locally
>>>and I don't want to disturb the user with the server. I need to
>>>connect to the database from my application only, the path of the
>>>database is relative to the program.
>>> I need something like IBM CloudScape but with XML.
>>>
>>>Thanks in advance
>>>--
>>>regards,
>>>Ahmed Saad
>>>
>>
>
>
> --
> regards,
> Ahmed Saad
>
reasearch performance
Posted by raspunk <ra...@email.it>.
hello
i am trying xindice as a possible solution for the storage of a
dictionary, in xml format. my problem is that queries (the most
important issue) are very slow, on my system (cpu G4 1,2 GHz) any
queries takes about 30 second, that is a lot. i have tried with the use
of indexes, and that helpes some queries, but there are some others (in
the form of /somepath[contains(.,'term')] that don't benefit from
indexes. there is any way to improve speed of these ones? o have tried
also to split my documents (that were around 200 Kb each) in many
smaller ones of 4 Kb each, but performance are even worst.
there is any evaluation of speed of queries of xindice avalaible?
thank you
filippo galgani
Re: Connecting to database without running server
Posted by Marcin Goldyn <ma...@poczta.onet.pl>.
Try here
http://marc.theaimsgroup.com/?l=xindice-users&r=1&w=2
using "embedded" as a key word
regards
Marcin Goldyn
Re: Connecting to database without running server
Posted by Ahmed El-dawy <as...@gmail.com>.
I did not find examples of this type of connection. I found examples
which requires a server to be running. Can you provide a simple
example for connection without a server?
Thanks alot
On 10/29/05, Neil Cook <nc...@acm.org> wrote:
> It is possible to run Xindice embedded with your application. It should
> be transparent to the user and inaccessible to other applications.
>
> /Neil
>
> Ahmed El-dawy wrote:
> > Hello,
> > I am new to Xindice. I tried some examples from the internet and it
> > worked, but I have to run the server before running my applications.
> > This allows it to connect to the database.
> > I don't want to run the server because my application runs locally
> > and I don't want to disturb the user with the server. I need to
> > connect to the database from my application only, the path of the
> > database is relative to the program.
> > I need something like IBM CloudScape but with XML.
> >
> > Thanks in advance
> > --
> > regards,
> > Ahmed Saad
> >
>
--
regards,
Ahmed Saad
Re: Connecting to database without running server
Posted by Neil Cook <nc...@acm.org>.
It is possible to run Xindice embedded with your application. It should
be transparent to the user and inaccessible to other applications.
/Neil
Ahmed El-dawy wrote:
> Hello,
> I am new to Xindice. I tried some examples from the internet and it
> worked, but I have to run the server before running my applications.
> This allows it to connect to the database.
> I don't want to run the server because my application runs locally
> and I don't want to disturb the user with the server. I need to
> connect to the database from my application only, the path of the
> database is relative to the program.
> I need something like IBM CloudScape but with XML.
>
> Thanks in advance
> --
> regards,
> Ahmed Saad
>