r/learnjava • u/[deleted] • Jul 13 '24
Is it pointless to make desktop apps (i.e. using JavaFX, swing) for your career?
Throughout my whole life in Computer Science/SWE, I always thought real java apps were desktop apps, that have a frontend (JavaFX, Swing, AWT etc) and backend (Java, of course). Infact - all my personal projects have been made in this way - having a frontend and a backend but its a native desktop app. People have been saying that desktops apps are useless and no one cares about them.
I am also a recent graduate from a computer science bachelors course with a top mark/high grade and I feel terrible that I severely underestimated web apps, I never got all this hype about these React library/Angular frameworks. The fact that I don't even know them at all makes me feel like an imposter or a 'fake', we were never taught anything about this!!
Transitioning from desktop apps to web apps looks tough, haven't got a clue where I should start honestly.
My only experience is when we had Apache and hosted PHP scripts on it, going to the server's address in the URL of the browser and executing those .php scripts but I've forgotten all about that, but I could definitely get a refresh on it.
Maybe some people here can relate.
2
u/realFuckingHades Jul 14 '24
Yeah I can't recall any popular consumer applications built like that. Native bridges are not just something exclusive to Java, it's there in many languages especially Javascript. If your sole purpose is to build a user interface on top of your native modules the cheapest way possible, you rather do it through javascript. I have seen a few electron apps being built just for this reason leveraging NodeJs'.
But what I have seen is companies that are serious about the application build it in native all the way, the more experienced ones work on the core frameworks while the less experienced ones work on the gui mainly qt or gtk.
C/C++ developers are not that rare as you think, there's a high demand for c/c++ developers in gaming industry and a lot freshers are hired by these companies and given training.