4

Is it possible to integrate a webkit engine in a java application.

Here is my thinking, I would like to implement my User Interface using javascript and business logic in Java and want to communicate back and forth between the js and java. I have looked at titanium and chromiumembedded. But i dont get the complete picture. Can anyone give me a good explanation of webkit being used in a standalone application.

1
  • JCEF and JavaFX are free, JxBrowser is commercial, Selenium may work. Commented Apr 12, 2016 at 19:52

2 Answers 2

5

There are a few solutions, the main one being for SWT. See here for the SWT solution. There was a similar question here referring to SWING.

Edit: Oh my, I can't believe I forgot Lobo, a browser written in Java. More Specifically, their Browser API providers support for embedding. This seems to be the better solution for cross-platform and possibly stability. I'm not 100% sure on the first two solutions' development. Hope that provides some insight.

Sign up to request clarification or add additional context in comments.

Comments

5

JavaFX 2 has an embedded browser component based on Webkit. There is a tutorial provided by Oracle here.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.