r/java • • Nov 25 '20

Native Applications from a single JavaFX Project for Windows, Linux, MacOS, iOS and Android with GitHub Actions

https://foojay.io/today/native-applications-for-multiple-devices-from-a-single-javafx-project-with-gluon-mobile-and-github-actions/
43 Upvotes

4 comments sorted by

1

u/ramdulara Nov 25 '20

Deployment to desktop in enterprise setting is tricky though. Somehow it's easier to have a url whitelisted than running an arbitrary binary.

2

u/[deleted] Nov 26 '20

Agree but in the end it all comes down to a cost-comparison. Do you want a web-tool which is easy to use in the browser, but difficult to maintain as web-frameworks keep being replaced, killed and needs to be reworked every few years? Or do you work with a technology which is stable for many years and still can run the same applications written many years ago? I definitely don't mind to reopen a Java project I wrote long time ago as I'm sure I'll be able to change and run it without the need to replace the underlying framework...

2

u/ramdulara Nov 26 '20

I would very much love to use a non web tech for desktop. How do I convince info sec at a client though? They don't care about the maintainability of my codebase. Somehow they are convinced web = secure, non web binary not secure.

1

u/[deleted] Nov 27 '20

That is actually a really good question and puzzle which needs to be solved! The web is actually insecure by default as you don't know all the dependencies which are pulled into your project by the framework! But agree it is difficult to convince decision-makers...

Bruno Lowagie has written a two-part article covering this on foojay.io: https://foojay.io/today/cross-platform-development-in-java-with-gluon-and-graalvm/