I haven't quite figured out how to do this. Simply, I'd like to directly access a collection without having to connect to a server process. This way, I can "embed" Xindice into my application. I expect this behavior to be analogous to HypersonicSQL/HSQDB's embedded mode, where there is no "server", but the database can be interacted with by simply referencing the jar file in the classpath.
Thanks, Mark -----Original Message----- From: Kimbro Staken [mailto:[EMAIL PROTECTED] Sent: Monday, February 18, 2002 10:37 PM To: [email protected] Subject: Re: Xindice as a servlet? Yes 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 the 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: > Is 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 > > Kimbro Staken XML Database Software, Consulting and Writing http://www.xmldatabases.org/
