JsLinkDirect
This guide describes Java application integration. For native Linux desktop applications, use the Linux Web Launcher (LWL) guides.
For a more robust and simple communication between the browser and your app, you can use JsLinkDirect. Unlike JsLink, JsLinkDirect does not use 3rd party library classes or javascript eval function. It works as an action listener and action trigger on both sides and is very easy to use.