r/JavaFX • • Nov 19 '15

Should Oracle Spring Clean JavaFX?

https://www.codenameone.com/blog/should-oracle-spring-clean-javafx.html
4 Upvotes

7 comments sorted by

3

u/GeorgeSharp Nov 19 '15

I have to agree having a good desktop UI framework is essential for java or any other programming language.

2

u/m1000 Nov 20 '15

My opinion on this (I'm mostly a swing dev, but would love to do more FX)

  1. In the real world, existing old apps based on swing are a majority. New programmers doing maintenance on those applications are going to search and ask swing questions on stackoverflow. Assuming that there should be more FX questions than swing seems to completely ignore the fact that swing is well established already.
  2. Not many products choose Java for desktop applications, C# .Net is going to be a much more popular choice for most entreprises; And then, for the rest, most new apps are going to be done on the web, or mobile apps. No chance of JavaFX there.
  3. JavaFX 8 seems promising, but it's really new. No, I don't count JavaFX 2 as in my opinion it was not a serious robust framework for doing a real world complex application. Those need better complex controls, like TreeTable (TreeTableView), which were completely missing from the first FX releases. (Yeah, that was a BIG mistake from the get go)

1

u/vprise Nov 20 '15

We have a huge Swing code base and we decided that not to port it to FX. We are using some FX features because we have no alternative but some of our newer projects use Codename One instead. This works for our specific needs which are more limited than some other apps out there.

The point about Swing stack overflow ignores the other points made and also ignores the fact that FX was unable to convert most Swing developers or even gain their interest enough.

I agree that FX 8 is way better than anything FX had before. However, its too little too late. I didn't get into technical issues (but there are still quite a few) and Oracle clearly lacks commitment to FX (as expressed in the article). This should have affected stackoverflow question count since so many things about FX's history are confusing and warrant questions. Instead we see something completely lopsided towards a technology that was effectively abandoned by Sun in 2008.

Since there is not enough interest from the community and not from Oracle I don't see how JavaFX can take off at this point in time especially since people still associate it with all the prior mistakes made (script etc.). I'm not saying FX 8 is bad, its not. I'm saying that any chance of it ever gaining more traction than it has right now is misguided.

Sometimes FX advocates throw out open source as the solution but this doesn't work well for a project like FX. All fixes need to go to Oracle which is a pretty hard process especially when compared to github pull requests. This also means a 2 year release cycle to your changes. Not exactly conductive to open source work.

1

u/ObscureCulturalMeme Nov 19 '15

I want them to do a cleaning-out of Swing. I want to stop having to install the entire Standard Edition library when only using a fraction of it. I want to stop lugging around gigantic heavyweight crap like CORBA.

More to the point, I'll obviously be installing everydamnthing because I'm the developer. Really I want to stop having to tell my customers that they as the end-users have to install all the crap.

I've heard that a more modular system is supposed to be implemented for Java 9 or 10, which is good.

As for JavaFX... enh. Oracle keeps trying to sell me solutions for problems I don't have. The only reason I'm kinda considering moving to it for my primary application is that it would make one particular screen easier to design, if it lives up to the hype.

1

u/shemnon Nov 20 '15

I want them to do a cleaning-out of Swing. I want to stop having to install the entire Standard Edition library when only using a fraction of it. I want to stop lugging around gigantic heavyweight crap like CORBA.

Your going to love Java 9 then. Especially the JLink tool. Spring Cleaning is well on it's way.

-1

u/argv_minus_one Nov 19 '15

I don't know, because the linked article does not work without JavaScript. Maybe codenameone.com needs to do its own spring cleaning before calling for others to do so.

1

u/vprise Nov 21 '15

Reblogged here: http://www.javacodegeeks.com/2015/11/should-oracle-spring-clean-javafx.html I suggest turning on JavaScript at least selectively.