XmlBlaster Logo



XmlBlaster Logo

Type NEW
Priority MEDIUM
Topic XmlBlaster provides proxy for the native xmldb Xindice.
deprecated: see queue.jdbc.commontable requirement

To use the native xml-based db Xindice of the Apache Software Foundation xmlBlaster provides a proxy which offers methods to access this db easily from within the engine of the server or even from the client.

The proxy creates one connection to the db per instance. There is no connection pooling implemented. The user has to start the db seperately.

The proxy provides methods to open, list, set, close and remove collections.

The proxy provides methods to add retrieve and remove documents.

Property Default / Example Description Implemented
Persistence.Driver.Type filestore
Example: xmldb
Gives the type of the persistence driver. yes
Persistence.Driver.Version 1.0
Example: xindice
Gives the version of the persistence driver type. no
Persistence.Path ${user.home}${file.separator}tmp
Example: xmldb:xindice:///db/xmlBlaster
Gives the path of storage depending on the desired persistence driver type and version. yes

A typical xmlBlaster.properties setup is:

# This persistence Layer needs Xindice from http://www.dbXML.org installed and running
# developed with release 'Xindice 1.0rc1 (DarkHorse)'
# Collection needs to be created manually by:
# xindiceadmin ac -c /db -n xmlBlaster
# see http://www.dbXML.org for more details
# see http://xml.apache.org/xindice for more details ???
#       Setting up your desired CollectionPath
#       default is xmldb:xindice:///db
#       Setting up your desired CollectionName
#       default is xmlBlaster
#       Sets the Driver of the Xindice Database Implementation
#       default is org.apache.xindice.client.xmldb.DatabaseImpl
#       !! Leave it, as long as you don't know what you're doing !!
#       Sets the xindiceFilterClasss of the Xindice Database Implementation
#       default is org.apache.xindice.core.filer.BTreeFiler
#       !! Leave it, as long as you don't know what you're doing !!

NOTE: Configuration parameters are specified on command line (-someValue 17) or in the xmlBlaster.properties file (someValue=17). See requirement "util.property" for details.
Columns named Impl tells you if the feature is implemented.
Columns named Hot tells you if the configuration is changeable in hot operation.


Find the CORBA Bug!

Write a testcase!

Problem is: currently we're using two different ORB's in the same VM. We try to address this problem by delegating the Plugins to different ClassLoaders.

See REQ engine.persistence.xmldb
See API org.xmlBlaster.engine.persistence.xmldb.XMLDBPlugin
See http://www.xmlblaster.org/xmlBlaster/src/java/org/xmlBlaster/engine/persistence/xmldb/README
See http://xml.apache.org/xindice
See http://www.xmldb.org

This page is generated from the requirement XML file xmlBlaster/doc/requirements/engine.persistence.xmldb.xindice.xml

Back to overview