I was going to write a more extensive email, but then I saw that many of you are also active on StackOverflow. Therefore I have moved my question there. I hope to see you there!
http://stackoverflow.com/questions/35536286/benchmarking-in-basex
Kind regards
-----Oorspronkelijk bericht----- Van: Christian GrĂ¼n [mailto:christian.gruen@gmail.com] Verzonden: dinsdag 16 februari 2016 11:28 Aan: Bram Vanroy bram.vanroy1@student.kuleuven.be CC: BaseX basex-talk@mailman.uni-konstanz.de Onderwerp: Re: [basex-talk] Benchmarking and caching in BaseX
Hi Bram,
I did read on your website that it is possible to communicate with BaseX from Java. Is there any documentation or guidelines on this?
We are spending quite some time into our documentation, so I hope that the existing articles will give you some initial help (see e.g. [1,2]).
I am knowledgeable with Java, so I assume I should be able to conjure up a benchmark script in Java. The only thing that I don't know is how to contact the database and insert a query.
As you will see in the examples ("QueryExample.java" and others), there is no need to insert queries in a database. Instead, you can directly send your query strings to the BaseX server and retrieve the results.
Cheers, Christian
[1] http://docs.basex.org/wiki/Java_Examples [2] http://docs.basex.org/wiki/Clients