The Java Binding [[Querying|query]] feature is an extensibility mechanism which allows
direct calling of Java methods bound as XQuery functions and manipulation of wrapped
Java objects. The following examples introduce For using the Java Binding feature the behavioruser needs [[User_Management|admin rights]]. <br />Please note that thenamespace URI must be of the form <code>java:fullyQualifiedClassName</code> and .<br />The following examples introduce theuser needs to have admin rights to perfom queries with java bindingsbehavior.
This example uses the java <code>Math</code> class and returns the cosine of an angle: