Re: Connecting to database without running server
Neil Cook <[email protected]> Sun, 30 Oct 2005 23:58:53 -0500
| Newsgroups | gmane.text.xml.xindice.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 >