4 ms·
I'm not sure this is what you want to hear, but you might as well give up on Java on the client. No one cares anymore. The only big company shipping client-sid
by nl 16y ago
I'm not sure this is what you want to hear, but you might as well give up on Java on the client. No one cares anymore.
The only big company shipping client-side Java software applications is IBM, with Eclipse and their other Eclipse-based products.
Oracle quite plainly doesn't care, and without significant investment it's just not worth the pain anymore.
I'm a Java developer, and I've recently been looking into developing a cross platform client app. Java just isn't a serious player - the reasons why I'm looking a client app (basically hardware access) are exactly the areas Java is spectacularly weak in.
(I'm excluding Android from this, because that is a special case)
- strlen 16y agoI entirely agree with you re: "but you might as well give up". If I had to build a cross platform desktop app, I would use C++ and Qt, which seems like the most sane option. Android/Mobile is certainly a separate case.
- borisk 16y agoThe most sane option, really? You'll use a runtime without garbage collection. And a GUI framework, vastly inferior to say WPF ( GUI accelerated, XAML DSL, tools for designers ).
- strlen 16y agoI said "sane" not elegant or beautiful or "best in every occasion". I'm also speaking in terms of cross platform. .NET is an excellent platform for Windows development and I won't dispute that. I am very well aware of Mono, but it still involves tying myself to a Microsoft standard (plus it's always going to be behind in terms of both language and libraries). As I've mentioned earlier, I am fine without garbage collection for desktop applications (implementing complex parallel algorithms is a different matter -- there GC very clearly helps). Sure GC is very nice to have even when you can make do with manually finding/fixing leaks (I'd rather focus on something else), there are many other advantages to high-level languages than just garbage collection (actual RTTI/reflection -- not very possible in C++, richer built in collections, callbacks without function pointers or "operator ()"; in the case of Scala, F#, Lisps -- and to a lesser degree C# -- there is functional programming, closures, DSLs, etc...)
- dkarl 16y agoThe Eclipse platform is great for making large, complex GUI apps, and IBM aren't the only ones using it by any means. Startup time is slow (for starting development as well as launching the app) but you can develop an app with a very responsive interface (which is apparently impossible in Swing.) Eclipse RCP is definitely a good batteries-included application platform for heavyweight GUI apps. I wouldn't use it for something small and light, though.
- Nelson69 16y agoWhy does it matter if "anyone cares?" Nobody (generally speaking on the grand scale) is using LISP for much of anything. Same is true with Ruby, you'll be hard pressed to find a "serious" or "major" company actually shipping Ruby. You look in those terms and you have 2 options: C++ on Windows and Objective-C on Apple, those are the only interesting client app platforms that the "major players" are doing anything with. Maybe you throw .NET in to the mix but that looks a lot more like Windows-only 'java' for enterprise server apps than a client platform. I could see the concern about major player adoption being an issue of Java going away; that doesn't seem likely anywhere except maybe on Apple, even there I doubt it will happen until Oracle or another third party "takes over" the Java on OSX platform, I couldn't see it becoming completely unavailable. Now Java isn't great at doing the fancy platform integration, the Mac menu and windows tray support seem a bit fragile and the interest has been low enough that it doesn't have a ribbon menu and various modern animated UI components can be a lot of work in Java. Depending upon what you need the client app to do though it still seems like a totally viable platform. If it does what you need, what does any of the other stuff matter? Juniper's VPN client is in java.
- axod 16y ago> "Why does it matter if "anyone cares?"" Because some people are obsessed with what is 'fashionable' rather than what works to solve a problem.
- nl 16y agoWhy does it matter if "anyone cares?" Because the future of the platform is important if you are betting an application on it. Now Java isn't great at doing the fancy platform integration, the Mac menu and windows tray support seem a bit fragile and the interest has been low enough that it doesn't have a ribbon menu and various modern animated UI components can be a lot of work in Java. Depending upon what you need the client app to do though it still seems like a totally viable platform. If it does what you need, what does any of the other stuff matter? It doesn't do what I need, and it's direction as a platform indicates that there is no point working on the things I need myself because then I'd have to support them for ever. For most of the major scripting languages (Ruby, Python etc) there are pretty decent libraries for platform integration, and they are being actively used by multiple developers. If I need to patch something then there is every chance that patch will be accepted back into a broadly used library. With Java, the ecosystem of client side developers isn't very large, and there aren't any big companies putting resources into it either. It's just stagnant, and that isn't good enough.
- vollmond 16y agoMy current employer maintains and develops several Eclipse RCP apps. Google Earth, last I checked, is Eclipse-based. It's not that unheard-of, even these days.