Paul Krill
Editor at Large

Java-to-iOS just keeps getting easier

analysis
Oct 11, 20123 mins

Third-party tools are getting even better at enabling developers to use their Java skills to build iOS apps despite Apple's ban

Java developers have long been on the outs with Apple when it comes to running their wares on iPhones and iPads. But thanks to a growing roster of third-party tools, developers can forget about Apple’s Java ban and get cracking on porting their apps to iOS devices.

“There are already a number of ways you can make Java run on iOS,” such as through third-party open source frameworks or Oracle’s ADF (Application Development Framework) Mobile, says Henrik Stahl, senior director of product management at Oracle. It is Java’s JIT (Just-In-Time) compilation capabilities that still are barred from iOS units, Stahl says.

ADF Mobile functionality due next year will enable single-source applications to be packaged and deployed to either iOS or Google’s Android platform, according to Oracle documentation. ADF Mobile is an HTML5- and Java-based mobile development platform intended to enable new or existing Oracle applications to run on mobile devices. ADF Mobile apps contain a lightweight Java Virtual Machine that passes data to an HTML5 view to render the user interface.

Google’s open source J2ObjC translator, meanwhile, takes Java code and translates it to Objective-C source code, Apple’s code of choice for iOS devices. Google intends for the translator to accommodate non-UI code, such as application logic.

Two other companies, Vaadin and Codename One, have services enabling Java developers to get their applications on Apple’s devices. Codename One performs cloud-based cross-compilations from Java to C/Objective-C.

“The Java development/debugging is done entirely locally, but when building for the device, the cloud portion does all the heavy lifting,” says Shai Almog, CEO of Codename One.

Vaadin offers a Java framework for building Web applications for iPad. A Java abstraction is provided on top of HTML5.

“The enterprise will ask you to develop for iPad,” says Joonas Lehtinen, CEO of Vaadin, pointing out the urgency in building for the device, given its immense popularity. “The only question is how.”

While Apple remains unimpressed with Java on its popular devices, at least other parties have stepped up to fill the gap and bridge Java to iOS. Java developers are not left out in the cold when it comes to using their skills to build applications for iPhone or iPad.

This article, “Java-to-iOS just keeps getting easier,” was originally published at InfoWorld.com. Get the first word on what the important tech news really means with the InfoWorld Tech Watch blog. For the latest business technology news, follow InfoWorld.com on Twitter.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author