Author: Ian Bull

Just in time for Christmas, J2V8 3.1 is now available. It ships as standard JAR from Maven Central, an Android Archive (AAR) for your Android developer friends, and now as an OSGi bundle. Here is the official New and Noteworthy for J2V8 3.1. Note: Please consume 3.1.6. I had a number of deployment issues when pushing out 3.1.0 and it took me a few tries. Performance Improvements J2V8 3.1 brings...

Read More

October 2015 marked my 7th anniversary with EclipseSource. For seven years I've been working remotely for an amazing company! For those of you who don't know me, I live and work in Victoria British Columbia (Canada), an 18 hour trip -- across 9 time zones -- to the EclipseSource headquarters in Karlsruhe (Germany), where most of my team works. Obviously I don't make this commute very often. But this is only one...

Read More

J2V8 enables developers to embed Google's V8 JavaScript engine in their Java applications. V8 is entirely implemented in C++ and we enable this embedding by creating a thin JNI (Java Native Interface) layer which exposes the V8 API to Java. The very first problem we faced while implementing this was how do you reference C++ objects from Java? This problem is not unique to J2V8, and will likely affect all...

Read More

We built J2V8 to bring highly performant JavaScript to Java in general, and to the Android platform in particular. By exposing Google's V8 JavaScript API in Java, developers can now embed V8 into their Java applications on Windows, Linux, MacOS and Android. The approach has worked very well both for Tabris.js as well as many other consumers of J2V8. The hardest technical challenge we faced while building J2V8...

Read More

Like many other operating system vendors, Microsoft provides a store from which users can install apps from. Stores such as the Apple App Store, the Google Play Store, and the Windows Store make it very easy for users to discover and install content. Like traditional marketplaces, app stores provide a number of advantages to both consumers and producers, but also like traditional marketplaces, the rules and regulations can sometimes be hindrance. If you wish to deploy an...

Read More

One of the most common mobile views for displaying information is the collection view. The collection view is a scrollable list often used for presenting data as a series of rows and has been part of Tabris.js since the beginning. Previously Tabris.js required that all rows be styled the same, but with Tabris.js 1.1 you can now style each item separately. Collection views are styled using the initializeCell...

Read More

J2V8 is a set of Java bindings for V8. J2V8 brings the V8 API to Java developers. We developed J2V8 to help with the performance of Tabris.js, our cross-platform, mobile development toolkit. A common J2V8 question is, how can I call native JavaScript functions from Java? For example, how can you invoke JSON.stringify() on a V8Object from Java. It turns out to be relatively straightforward. In the case...

Read More

Last month I spent 10 days in Germany. I spent time at the EclipseSource headquarters in Karlsruhe, where I enjoyed schnitzel, good beer and a few strange sights. I also attended EnterJS, where we brought an iPhone attached to a punching bag to show just how responsive Tabris.js is. While at EnterJS, I presented J2V8 and released J2V8 3.0. J2V8 brings Google's V8 JavaScript engine to Java. Here is...

Read More

Eclipse Mars is here! Over the past 10 days I've been counting down the Top 10 Eclipse Mars features I'm most excited about. 10. Mac Application Layout 9. Platform Improvements 8. UI Monitoring 7. C/C++ Launching 6. e4 Tools 5. JDT Improvements 4. Docker Tools 3. Git Flow in Eclipse 2. Eclipse Automatic Error Reporting 1. The Oomph Installer This year Eclipse offers a completely new way to download and work with the IDE. Instead of...

Read More