I am making some tests on Xindice. The xml:db/corba api created problems when integrated with xerces (that I use for xml processing), so I have developed an alpha version of servlet support for Xindice that uses directly the core interfaces, making Xindice running into a servlet engine. Till now I have a servlet for xpath querying and a servlet for db management (add/remove collection and documents, ..). Both support multi db instances; I found problems in indexes management, so that part is not working right now.
If you find it interesting for the project, I could give the sources.
Giacomo
Mark J. Stang wrote:
Kimbro/Tom/et. al., If I understand what you are saying, in this and other e-mails from this time-frame, all of the XML:DB API is done through CORBA.
One option is to start Xindice from within my application as opposed to running it in a seperate JVM from the command-line. So, at that point, clients that know about my server can use it just like it was started via the command-line. One less JVM, but I am still going through the CORBA interface.
What if I want to bypass the whole CORBA thing and access the db directly? I think at that point I loose the XML:DB API, what do I use then? I think at that point I am getting down to the metal.
Pros/Cons?
I have been developing a multi-user application. I can now see a need for a single-user version. Easier to install, easier to start up. This is for those who profess not to need a multi-user version. If they should change their minds, a single-user with the DB embeded inside would prevent that.
So, what would you suggest?
thanks,
Mark
Kimbro Staken wrote:
theYes it is possible, there isn't any documentation on how to do it right now though. I started working on some last week but i barely got started.
There's basically two levels that you can embed at. The entire server
framework, which brings all the services and would allow you to continue
using the command line tools. And just the database,which will prevent
command line tools from working.
Take a look at org.apache.xindice.server.Xindice to see how the server is started, and org.apache.xindice.server.services.XindiceService to see how the database it self is started.
On Monday, February 18, 2002, at 06:02 PM, Mark A. Richman wrote:
Kimbro StakenIs there anyway to run Xindice from within a web server, say Tomcat, instead of as its own standalone server? I'd like to be able to handle client calls via a servlet, so I can incorporate Xindice into my own apps.
Thanks, Mark
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/
-- Mark J Stang Architect Cybershop Systems
(See attached file: markstang.vcf)
