I have a proprietary Java API, which I want to call from my HTML/Javascript application. So I'm considering to use WebView or similar component to embed WebKit into resulting Java application.
What would be the best way to implement interface between Javascript and Java? Can I easily extend window DOM object in Java?
I'm going to run the application on the desktop (most likely Windows 7), but it's good to have as portable as possible as in the future I'll need to run the same app on different devices.