This post originated from an RSS feed registered with Java Buzz
by Jens E.
Original Post: First Chrome Browser for Java
Feed Title: MyEclipse Blog
Feed URL: http://www.jroller.com/myeclipseblog/feed/entries/rss
Feed Description: IDE/tools issues & comments
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.