==JAR Files==
{{Mark|Since Version 7.2.1}}, simple JAR archives can be treated and installed as XQuery modules. The article on [[Java Bindings]] describes gives more insight on how Java code is handled in XQuery.The following steps are to be observed when preparing a JAR archive:
* The installed JAR archive must contain a manifest ({{Mono|META-INF/MANIFEST.MF}}) with a {{Mono|Main-Class:}} entry, which will be bound to the namespace. * All public functions of this class can then be addressed from XQuery.* The repository path to the JAR file can be directly used as namespace URI.
[[Category:XQuery]]