On Tuesday, April 2, 2002, at 06:14 PM, Mark Diggory wrote:
It will use the same HTTP server and port. In this case you're actually kind of stuck too, since all communications with the server will be through HTTP. The only way around it would be to directly embed Xindice inside a Tomcat instance, which is very possible.
Yes, I am, I even have a Servlet with init/destroy methods that starts and stops the the Xindice Services. I'm sure I could use the Xindice interface to access the db, but I was hoping to be able to stick with XML:
DB because your examples are easy to use and understand.
Since you're embedding it, It will be trivial to convert the XML-RPC interface to run from directly within Tomcat. Then you can still use the XML:DB API without the internal Xindice HTTP server.
What I really want is a local only version of the XML:DB API designed for embedded situations, then you wouldn't need any kind of network service unless you need to use the command line tools. It would be really easy to build, I've just been too lazy to do it.
-Mark
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
