On Thursday, June 13, 2002, at 01:27 PM, Mark J. Stang wrote:
As I understand it, the new XML-RPC will replace the CORBA interface. However, from the Xindice Users point of view, our interface, the XML:DB API won't change. It should mean that our client code shouldn't have to change.
But that means that there is a network layer between the data. It sounds like, if we want an XML:DB API without any CORBA or XML-RPC, we will have to write it ourselves. Or since this is an open source, we can write one and submit it as part of the project :-).
Well yes and it would be a valuable contribution.
However, we lose the command-line tools.
Actually you could still use them, it would just be inconvenient. You'd just need to shutdown your application, run the command line tools and then start your application again. The command line tools are built against the XML:DB API so they should work against any implementation of that API (well they will need to be changed a little, but it's trivial). The problem is that in the embedded scenario the tools will load the database in the same VM just like your application does and accessing the same files from two VMs is definitely not a good idea.
Which for some people that is a good thing. It is a bit of a security hazard. However, if we use the CORBA/XML-RPC which has a security hazard, we also get third-party access and third-party tools.
I will have to think about whether or not I need to bypass|re-implement the XML:DB API.
Does anyone else need this bad enough to sit down and write the code?
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
