Skip to content

CinJUG: "How Should Java Developers Build Front-Ends for Web, Mobile, and Desktop Today?"

Published on · Updated on · 3 min read
CinJUG logo

Share

Talk

The Cincinnati Java User’s Group hosted monthly talks. I was honored to talk about “How Should Java Developers Build Front-Ends for Web, Mobile, and Desktop Today?” on Wednesday, January 20, 2021.

Thank you to Mark Wehby and James Carman for organizing this!

Abstract

Users accessed applications on PCs and mobile devices at the time. There were two obvious ways to build front-ends for these devices: web applications and native applications. Cross-platform UI toolkits combined advantages from both approaches. Examples were Facebook’s React Native, Google’s Flutter, Microsoft’s Xamarin, and JavaFX. I looked at these toolkits from the perspective of a Java developer. My talk suggested which toolkits to use, what their sweet spots were, and when to avoid them.

In 2019, I developed a mobile app prototype with Flutter and a progressive web application. I then decided to use Flutter for native mobile apps in my project at the time. I demoed these apps and the development tools I picked in the talk. Finally, I highlighted typical issues with Flutter and how to solve them.

Slides

The slides were available as a PDF (7 MB); the PDF version is available for download here.

Download slides (PDF)

The slides were also available in their original Keynote format (40 MB, including two videos) — animated, with a look behind the curtain of individual effects; that version isn’t available for download here.

Attributions

The slides used the following images:

Demos

My talk mentioned a Flutter prototype I built in the summer of 2019. Here it is:

Watch the video (YouTube)

My talk also mentioned a progressive web app prototype I built at the end of 2019. Here you go:

Watch the video (YouTube)

Getting Started

Flutter & Dart

The Flutter website was a good place to get familiar with Flutter. Flutter uses the Dart programming language. Both Flutter and Dart could use plugins from a great portal.

Installing Flutter

Here were the instructions, straight from the Flutter website:

Learning Dart

You started with the Dart language tour. Java developers took the “Intro to Dart for Java Developers” next. Then there were options:

Learning Flutter

Here’s a selection of Flutter tutorials and courses: