Hi Andreas,
A local / embedded version of BaseX XQJ, (i.e. no Socket connection) is planned for BaseX XQJ 1.3
The primary aim will be to have as much compatibility as possible with the client/server based version [1]
This is not a quick job and I wouldn't expect anything soon. Perhaps in the next 2 months or so.
In the meantime, I suggest that you at least test your software against the Client / Server XQJ driver, because although unlikely, there "may" be differences in behaviour between the the version of BaseX XQJ driver you're currently using and the XQJ.NET implementation.
If your code needs to change as a result of switching drivers, you will get foresight on those changes in advance.
Kind Regards,
Charles
On 24 October 2012 12:41, Christian GrĂ¼n christian.gruen@gmail.com wrote:
Hi Andreas,
as you correctly observed, the old XQJ implementation has been discontinued, and our current XQJ implementation is based on the client/server architecture. We already thought about providing a local version as well. The (closed source) implementation would be completely up to Charles Foster, and I imagine it could take some time to finalize, so please don't expect any short-term miracles. Charles might give you more details just in case.
Christian ___________________________
On Wed, Oct 24, 2012 at 12:53 PM, Andreas Rulle andreas.rulle@nexoma.de wrote:
Hello BaseX-Team,
this mail informs you about the further steps that have been done in this point:
- Search for source code
I have not been able to find the source code for basex-xqj-1.2.3.zip. A question would be if the source code for this module is available. (Just find the answer to the question "in the source code").
- JavaDoc
The JavaDoc says:
"This implementation internally creates Socket connections with a BaseX Server" see [1]
From point 2. I would conclude that it is not possible to use a local/"embedded" database with the new XQJ.
With best regards,
Andreas
[1] basex-xqj-1.2.3/doc/javadoc/net/xqj/basex/BaseXXQDataSource.html
Hello BaseX-Team,
it is great to see the vibrant evolution of your BaseX development.
We have a component that is at the moment on (the now outdated) BaseX 7.0.2 and the component uses
- local databases (to make it as independent as possible from the
environment where it runs)
- and XQJ.
Now we want to migrate this component to BaseX 7.3/BaseX 7.5.
But all the examples of the new (1.2.x) version of basex-xqj use the client server architecture, and it is stressed in the documentation:
"BaseX XQJ communicates with a BaseX Server via a client-server architecture, where BaseX XQJ acts as the client and the BaseX XML Database acts as the server.", see page 3 in [1]
Question:
Can BaseX 7.3/BaseX7.5 access a local database with XQJ?
With best regards
Andreas
[1] BaseX XQJ Documenation, Version 1.2.3, 1th October 2012
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk