WebKit in a Java Application

Is it possible to integrate the webkit engine in a Java application.

Here is my opinion, I would like to implement my user interface using javascript and business logic in Java and want to communicate between js and java. I looked at titanium and chrome plated. But I do not get the whole picture. Can someone give me a good explanation that webkit is used in a standalone application.

+4
source share
2 answers

There are several solutions, the main of which is for SWT. See here for a SWT solution. There was a similar question here regarding SWING.

Edit: Oh my, I can't believe I forgot Lobo , a browser written in Java. More specifically, their browser API support for implementation. This is apparently the best solution for cross-platform and possibly stability. On the first two solutions, I'm not 100% sure. Hope this gives some insight.

+5
source

JavaFX 2 has a built-in browser component based on Webkit. There is a tutorial provided by Oracle here .

+5
source

Source: https://habr.com/ru/post/1383957/


All Articles