As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
The correct way to call Java from JavaScript is to create a Repository action class and then call that using the 'actions' object from JavaScript. Since only a server admin can add new JARs to the repo this is a safe route.