Changes

Jump to navigation Jump to search
810 bytes added ,  20:36, 20 October 2017
no edit summary
On our [http://files.basex.org/modules/ file server], you can find some example libraries packaged as XML archives (xar files). You can use them to try our packaging API or just as a reference for creating your own packages.
 
=Performance=
 
The import of XQuery modules in repositories is just as fast as the import of all other modules. Imported modules that are referenced several times in a project will only be compiled once.
 
Imported Java archives will be dynamically added to the classpath and unregistered after query execution. This requires some constant overhead and may lead to unexpected effects in scenarios with highly concurrent read operations. If you want to get optimal performance, it is recommendable to move your JAR files into the {{Code|lib/custom}} directory of BaseX. This way, the archive will be added to the classpath if BaseX is started. If you have installed a [[#Combined|Combined Package]], you can simply keep your XQuery module in the repository, and the Java classes will be automatically detected.
=Changelog=
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu