{{Mark|Since Version 7.2.1}}, simple JAR archives can be treated and installed as XQuery modules. The article on [[Java Bindings]] describes how Java code is handled in XQuery. The installed JAR archive must conform to the following rules:
# It must contain the file {{Mono|META-INF/MANIFEST.MF}} file with , which must contain a {{Mono|Main-Class:}} valueentry
# The main class will be bound to the namespace. It must contain the functions which are to be addressed via XQuery