Recently, I presented a private demo of a new embeddable Java browser component tentatively named the Chrome Browser for Java (CB4J).

To my knowledge, CB4J is the first Java implementation of the open-source C++ Chromium WebKit framework (the foundation of Google's Chrome Browser). Expected uses of CB4J are in desktop Java applications and tools that have a need to seamlessly integrate dynamic Web content and browser-based application functionality.

Genuitec plans to use CB4J in its MyEclipse IDE and open-source FireFly mobile Web developer kit project. Notably, versions of CB4J are being developed for the Eclipse SWT and Java Swing UI toolkits for maximum flexibility. While the licensing model of CB4J has not been fully defined, we are considering an open source version of CB4J as well as a low-cost, advanced version.

 

 Screenshot of CB4J SWT Sample Application

As many of us know, the release of the Chrome browser last last year ignited a new "browser war" with the incumbent IE and FireFox browsers. But why is Chrome significant, other than the name "Google" in front of it? Chrome is built on top of the open-source WebKit browser engine which also powers Apple's Safari browser and iPhone mobile Safari browser, Google's Android browser, Nokia and Motorla mobile web browsers and several others. WebKit has emerged as the reference implementation for HTML5 and conforms to standards better than either IE or FireFox. Additionally, Chrome ses the new V8 JavaScript engine which Google claims to be many times quicker than IE or FireFox. This makes WebKit a compelling standard for the future of mobile Web and application development.

To be fair, a current drawback of adopting the Chromium framework is that it only runs on the Windows platform at this time. Linux and Mac implementations of Chromium are in the works however, and we would anticipate respective versions of CB4J being released when stable ports of Chromium for Linux and Mac are available.


While CB4J is still in development, significant progress has been made. As you can see from the screen shot above, the API is very simple, and we will be expanding the API to support DOM editing and JavaScript debugging.

I'm hoping that we will have a publicly accessible version of CB4J in early February. Due to the noted lack of support by Chromium for Linux or Mac, the initial release will be for Windows only.

Wayne, Genuitec, LLC

 

Bookmark this entry on del.icio.us  |  digg this entry  |  See this page in technorati  |  Say you Reddit  |  Slashdot This  |  Vote on Developer Zone

Tags: webkit, java, jni, swt, swing, javascript, v8, chrome
Technorati tags: , , , , , ,

Related Posts

Laravel Validation in Eclipse Request input validation is an important aspect of building any application, ensuring that the input matches values expected to complete a given operation. Laravel is a PHP web framework, following the MVC architectural pattern. It provides several built-in methods, which help in handling request input validation.  In this article, we will be looki...
CodeMix 2.0 Is Out! Pipelines, CodeMining and More... It’s fall, and we’ve just dropped our hottest release of the year, CodeMix 2.0! Well past the CodeMix 1 growing pains, we’re hitting prime time with this release, which includes the best features from Webclipse 1.x, as well as exciting new modern web tech that CodeMix brings to Eclipse from VS Code.Exciting CodeMix CapabilitiesCodeMix is an Eclipse...
A Day with Dani: Angular Coding with Angular IDE +... Now that I’ve acquired a pretty good amount of knowledge with Python, I have decided to test the waters of Angular development. Already being familiar with CSS, HTML and JavaScript, I was advised to start looking into learning this language. I love working with web technologies, so I went ahead and took an Angular crash course to get me started. Af...
Deep Black Theme for Eclipse Just Got Better Our Darkest Dark theme was a total hit last year, yet some of you continued longing for a total eclipse of your IDE. We jumped at the task and created the Deep Black theme for Eclipse, going way beyond providing the possibility to go #000. Its newest release has also fixed inconsistencies for some plugins.Both Deep Black and Darkest Dark - as well ...

Posted on Jan 21st 2009