Java for iOS? Gluon Client plugins support Java & JavaFX on iOS devices

Share
  • June 14, 2019

Java on iOS devices? The latest news from Gluon (Java on iOS, for real) announces that the Gluon client plugin now offers configurations for running Java 11+ and Java FX apps on iOS devices (or the iPhone simulator).

With Gluon Mobile, developers can create iOS and Android apps in Java, taking advantage of a language and ecosystem they are already familiar with in order to perform operations. Gluon Mobile provides UI control for the client application, handles communication with the server-side cloud and third-party services, and abstracts the platform-specific APIs. Gluon Client tools can generate a native executable for iOS devices.

Java on iOS

The Gluon client plugin, from the documentation:

The Gluon Client plugin leverages GraalVM, OpenJDK and JavaFX 11+, by compiling into native code the Java Client application and all its required dependencies, so it can directly be executed as a native application on the target platform.

One of the advantages is a much faster startup time, as we don’t need the JVM to start anymore. The resulting application will be entirely integrated with the native operating system.

The Gluon Client plugin comes in two flavors, depending if you are a Maven or a Gradle user.

This software is currently in its beta phase and is under active development.

SEE ALSO: Automated build and deployment of Docker containerized OSGi applications on Kubernetes

Gluon Mobile deploys to all platforms privately or via available app stores.  It uses GraalVM native builds on iOs. According to the announcement post, future work includes tools, build performance, and configuration.

The project leverages products that developers should already have familiarity with, including OpenJDK and OpenJFX.

Read the Gluon Mobile documentation and find out more about Java on mobile devices.

Start with Gluon

Here’s the rundown for open source developers. Gluon offers a potential open source license for its products. However, it does not offer open source for all.

SEE ALSO: Container ecosystem in 2019: Organizations challenged by container security

The license request comes with a few stipulations that a project must meet first. The project must be at least 3 months old, in active development, and have a regularly updated website and builds. Devs must continuously renew the license annually.

Interested developers should inquire about the open source license here.

View the samples on GitHub. The getting start guide lists the requisites you will need and how to begin.

What do you think about this? Should developers create iOS apps in Java? Will you test it out?

The post Java for iOS? Gluon Client plugins support Java & JavaFX on iOS devices appeared first on JAXenter.

Source : JAXenter