JAVA within Xquery?

Is where mechanism for invoking JAVA or other platform routine from within XQuery?

Thank you in advance!

:confused: