You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by srinivas mohan <sr...@hotmail.com> on 2001/06/10 10:29:23 UTC

xPath

Hello,

I want to create an inmemory database using xpath.

This is how it should work,

Every time a user requests a webpage, which in turn quires a database
for some data,
I observe that the more work is done on the database server and the
utillization of cpu is more in database server compared to the
web server, so to decrease the load on the database sever i plan to have
an in memory database, in the webserver itself.

So i need it implement using xml document model,
so that i will create a DOM object in the webserver , and query
the DOM object instead of database.

I will be pleased if you can help me using xpath and Xalan in
this process of quering the DOM model, as i am very new to XPath
and Xalan.

Thanks in Advance
Mohan




_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Re: xPath

Posted by Tom Bradford <br...@dbxmlgroup.com>.
srinivas mohan wrote:
> Every time a user requests a webpage, which in turn quires a database
> for some data,
> I observe that the more work is done on the database server and the
> utillization of cpu is more in database server compared to the
> web server, so to decrease the load on the database sever i plan to have
> an in memory database, in the webserver itself.
> 
> So i need it implement using xml document model,
> so that i will create a DOM object in the webserver , and query
> the DOM object instead of database.
> 
> I will be pleased if you can help me using xpath and Xalan in
> this process of quering the DOM model, as i am very new to XPath
> and Xalan.

You might want to try dbXML.  Even though we're not an in-memory
implementation, we are an XML database, and we do quite a bit of
in-memory caching to improve performance beyond the ability to index
elements and element/attribute combinations.  For XML-specific database
applications, performance is quite a bit better than relational mapping.

Internally, we're using Xerces for our parser and Xalan for our XPath
implementation.  A future version may also include XSLT queriable
transformation support as well.  dbXML can operate both in a
client/server and embedded (in-VM) fashion.  The software is available
under an Apache style license.

http://www.dbxml.org

-- 
Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null