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 "Mark R. Diggory" <md...@latte.harvard.edu> on 2002/02/14 07:48:32 UTC
A second question
Is there a way to use Xindice locally on the machine (totally within
java) without requiring the included http server. If so, this would
require me to be able to instantiate a new db from within the Java API?
I ask this because I'm interested in using Xindice within a Tomcat
Servlet Engine web application. I'd like it to be deployable within a
web-app. Which means it would have to be executable from within the
servlet without alot of configuration to the operating system itself (ie
installing Xindice as a service which would require Administrative/ROOT
access rights etc)
Ideally Servlet's would communicate directly with the db. I wouldn't be
allowing users to remotely access the db through Xindices http service,
Just allow them to access the Servlets/JSP.
-Mark Diggory
Re: A second question
Posted by Tom Bradford <br...@dbxmlgroup.com>.
On Wednesday, February 13, 2002, at 11:48 PM, Mark R. Diggory wrote:
> Is there a way to use Xindice locally on the machine (totally within
> java) without requiring the included http server. If so, this would
> require me to be able to instantiate a new db from within the Java API?
Yup. It can be done. Take a look at Xindice.java, and
XindiceService.java for an idea of how to bootstrap the system. It can
be done without even requiring to hit the disk for a configuration file,
which is something that dbXML couldn't do.
--
Tom Bradford - http://www.tbradford.org
Architect - XQRL (XQuery Engine) - http://www.xqrl.com
Apache Xindice (Native XML Database) - http://xml.apache.org
Project Labrador (Web Services Framework) - http://notdotnet.org