r/javahelp • u/[deleted] • Aug 05 '20
JavaFx versus JS+?
Hey All!
Not sure if I'm understanding this correctly. I'm a mid-level Dev using JS (node react etc) and I'm trying to really dig deep into Java. Only thing is, I've skipped over learning JavaFx and now I'm not so sure if that was a great idea? I read that not many companies use it, and I honestly thought if people wanted a GUI or some sort of front-end, wouldn't they just use JS With React or something?
Sorry for the confusion, I'm really hoping to clear it up and know if it's something that I should learn or I'll be fine to move forward without it! I was hoping to transition to Fin Tech sometime this year!
Any advise would be awesome!
3
u/Yithar Intermediate Brewer Aug 05 '20
My company uses an old frontend in Swing but they're working on transitioning it to Javascript. I wouldn't say you missed anything. If.a company requires it just learn it on the job.
For my team's project we used React.
2
Aug 05 '20
Most definitely, I've been using React for a few years now so i'm totally comfortable with that. It was just more so on how the flow for Java web apps are. Glad to see people are using JS for the front-end!
18
Aug 05 '20
[removed] — view removed comment
1
Aug 05 '20
That is exactly what i was thinking! I love using React and all that, so I figured it'd be a waste of time to learn JavaFX or Swing!
0
u/WisejacKFr0st Intermediate Brewer Aug 05 '20
Depending on how modern your company's products are, you're doing the right thing! I maintain a few products that were written mostly in the early/mid 2000s and they utilize Swing and JavaFX quite a bit, but the next hurdle for the company is moving them to a HTML5 app so we can do everything all in browser.
Just a little anecdote to say "Hell yeah for JS UIs!"
2
Aug 06 '20
My current company is trying to be as modern as they can, but whenever I plan to switch I want to be in the Fin-Tech industry so I'm guessing they stay somewhat up to date. I've even seen some apps, most ask for Java React and things of that sort.
They actually ask for a ton which is pretty ridiculous IMO
-1
u/-INFEntropy Ascended to Kotlin Aug 06 '20
You can always.. Literally embed JS into the JavaFX window.. Its as easy as android.
3
9
u/firsthour Profressional developer since 2006 Aug 05 '20
You have not missed anything important by skipping JavaFX, I have been a dev for 15 years and have never used Swing or JavaFX, all web for us.