Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Fx and the cloud

 
Claude Moore
Ranch Hand
Posts: 829
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just wonder if Java Fx will be able to play some role in a cloud enviroment. At the moment I would answer "No", just because to run Java FX apps you need a JRE installed on your device, and not all mobile devices let you to install java on.
What do you think about ?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on what you mean by "cloud". That
term has been attached to so many things lately as to be largely meaningless by now. An server app (cloud or not) can either serve web pages that start JavaFX apps, or serve as back end for a desktop JavaFX app.
 
Claude Moore
Ranch Hand
Posts: 829
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, despite the fact that cloud is really a buzzword nowadays, with "cloud" I just mean an architecture where software is used remotely with any device, mobile or not... and I think that to achieve this one should develop web-based application while desktop apps are cut off.
Java FX promises a lot, but i'm not so sure that with Java FX you can build really RIA applications, due to dependency on JRE. Which, is not, as I previously said, availbale on Androind or iOS devices for example.


 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use JavaFX to build both Android and iOS applications, though. That works by a compiler creating native apps for those platforms from your JavaFX code.
 
Claude Moore
Ranch Hand
Posts: 829
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Really? I was not aware of the existence of such compiler.. can you give me more details?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://javafxports.org/ has all the info to get started.
 
Claude Moore
Ranch Hand
Posts: 829
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks man. I'll keep an eye on that site... to be honest, I would be more happy hearing about an Oracle's official porting of Java Fx on mobile.... but I think it won't happen. At least so early.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I continue to be amazed that any work is being put into JavaFX at all. Given that Swing works OK for what little desktop use Java sees, it seems a waste of effort.
 
Claude Moore
Ranch Hand
Posts: 829
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf, I remember you point of view very well in a previous post where we were discussing about "desktop or web application" (more or less, but the sense of the topic was that). In that discussioni, you expressed very well your opinion, i.e that desktop applications will be probabily used only for a niche, while they're going to disappear in favour of web-based applications. As a non-web programmer (I'm definitively much more keen on server-side programming than in front end programming; but I'm quite good with Swing) I hope you're wrong; but my reason tells me that you'll right.
Years ago (when web 2.0 did not exist yer) I started leading a project aimed to write an ERP in java. It was written as a three tier application, it works and we're happy. But technology scenario's changing, and I need to understand how to make my moves to let that project survive.

 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The niche will probably be around for a long time, sort of like Motif apps were (and probably still are) being used by Unix desktop shops. Server side is also safe, since that's needed no matter what GUI is used (desktop, Web, mobile).

My guess would be that desktop apps become less Swing/JavaFX only, and more of a desktop/Web hybrid - I understand that the browser component in JavaFX is way better than any that came before. That may make reusing web pages in the desktop app possible. Sort of like many mobile apps have an embedded Web component.
 
Claude Moore
Ranch Hand
Posts: 829
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess would be that desktop apps become less Swing/JavaFX only, and more of a desktop/Web hybrid - I understand that the browser component in JavaFX is way better than any that came before.


... and that's exactly a feasible approach I think to follow: first, integrate JavaFX webview in our swing-based app, and after develop (or porting) single modules our erp is composed of as standalone web application (or as part of a standalone web application), with the intent of run them in the webview.
At the very end, primary swing application will be no more than a view controller...


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic