Hello list, I had setup xindice in the past to learn XPATH etc. It is very cool.
I am working on a project http://www.jointhegrid.com/jtgweb/. Previously I used java.beans.xmlencoder and xmldecoder to persist xml data to a directory. Now, I am moving to a multi-node implementation. So I have an issue of data replication. My goal is to have the data on all the nodes, and have the data scale out automatically if I moved from two nodes to three. I do not want to use shared storage or NFS. This morning I came up with an idea: 1) Use tomcat with session/application clustering anything in memory is shared on all the nodes. I remember from using xindice it persists the data to the webapps directory. Can I run xindici in memory? would the data be serializable. If that is possible xindici can be used as a replicated xml database. Any ideas?