On Dec 6, 8:58 am, Jim McDonnell <james.t.mcdonn...@gmail.com> wrote:
> Somebody in the episode kept going on about how Java "lied". Can someone
> enlighten me?
>
> I often listen to people at work, or on podcasts, make grandiose statements
> that sound impressive, but I am left to wonder what they base that
> statement on. (For example, I listen to our architects talk about MySQL *
> obviously* going away because Oracle is going to kill it, or how Glassfish
> To be fair, I had a Swing app running on Macs with no problems 5 years
> before I first used a Mac, so I think it delivered on that front.
I'm really amazed that this thing is always around. It seems that many
people forgot about C/C++. I routinely work with corporates which also
have C/C++ development and there's simply no paragon in the fact that you
can develop Java literally everywhere and deploy it everywhere. It's so
natural, that Java developers have forgotten what crosscompilation meant.
So, clearly the original Sun's vision for "everywhere" was broader, but
we're not that far. If there wasn't Android, BTW, one could argue that JME
is declining and Java would disappear from the mobile, but with Android is
quite true the opposite.
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
fabrizio...@tidalwave.it
http://tidalwave.it - http://fabriziogiudici.it
To be fair, I had a Swing app running on Macs with no problems 5 years before I first used a Mac, so I think it delivered on that front.
> To continue your Mac example: Try to run your Swing app on OSX Lion and
> notice how it's unable to go into fullscreen mode. Or try letting a blind
> person, with a screenreader, navigate your (emulated) Swing UI.
Swing has got accessibility support. Sodbeans, for instance, is a project
based on Swing for blind support. BTW, it's one of the Duke Awards of this
year.
http://netbeans.dzone.com/news/sodbeans-15-enhanced-netbeans
To be fair, it's taken Apple themselves until 2011 to manage this feat
on their own machines.
Swing has got accessibility support. Sodbeans, for instance, is a project
based on Swing for blind support. BTW, it's one of the Duke Awards of this
year.
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To view this discussion on the web visit https://groups.google.com/d/msg/javaposse/-/5mZe0IhCnrQJ.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
> Casper, those are fair issues - but there IS no "one true language" that
> delivers on everything. There are tradeoffs for every language and OS.
> Java
> does a remarkably fantastic job at very much of it, even while being far
> from perfect.
Exactly. I was going to say: the point is when you interpret WORA as a
black/white thing. Those saying that Java "failed" have a vision where
either you have everything WORA, or the mission is failed. As all the
other things, WORA is an analogic concept and the analogic score is very
high. Furthermore, where the score is lower is on the UI, and all UI
technology aren't able to be 100% WORA in this field. HTML5 is to be seen
yet.
I was expecting someone to talk about language shortcomings. Maybe
poor structure/quality of the core libraries.
For example, I listen to Dick W. talk about Scala and how it gives
such great performance improvements. Since Scala and Java both run in
the JVM, that tells me the JVM itself has the potential for the speed,
it's just something about the Java Language Implementation. And maybe
the "lies" referred to in the episode are talking about holes/poor
decisions made when crafting the language.
But if all anyone can complain about is UI, then for me you are just
complaining to complain. My point of view is that if you are creating
a serious UI, then you are not using Java anyway.
(If you are creating serious UI with Java, please let me/us know. I
am willing to accept that I am wrong in my POV. Sort of why I started
this discussion.)
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
The Java promise was 'write once, run anywhere' and it didn't happen
Java tried, but it failed. And really, how could a unification of UI/UX across different OS be anything than the never-ending quest for lowest-common denominator?!
I'm sorry to repeat on and on the same things, but it seems that many
don't get it. If you're talking about end users, you are mostly (but not
totally) right. If you're talking in general, there's a plentiful of rich,
complex and mission critical applications around. The only fact that you
and others can't see them, because they are privately used, doesn't mean
they don't exist. Start looking at platform.netbeans.org's showcase and
the same stuff from Eclipse RCP.
Exactly. Adding to this, one problem is UI fidelity. UI fidelity (which,
BTW, the mentioned "full screen" button on Mac OS X) proves to be a hard
point, indeed, but this is sensible only for end users. Functions, though,
can be implemented without a strong UI fidelity.
It would have been useless for blind people, as it was deliberately
aimed at sighted users. In fact, the way I wrote it ignored Swing's
accessibility APIs, so I actually wasn't using the support that you're
complaining doesn't exist.
Regarding cross-platform UI being a quest for the lowest common
denominator, I think that overstates the differences there are between
the platforms we actually use.
On an unrelated note, I just can't beat you on a particular level of
Angry Birds that you probably didn't even know I was trying to beat
you on. Grr. :)
It was so nice to be able to delete those when Java 6 arrived. But
yes, there is an AWT restriction. This has nothing to do with WORA.
> Part 1 is achievable with Java Web Start. Nobody needs Eclipse or
> Netbeans.
To be more precise :-) you can perfectly do the thing with JWS and you
need Eclipse or NetBeans only if you additionally want the update control
to be exposed to the user (e.g., you can have an update center with a nice
UI where you can choose what to update - can be a bad idea in an
enterprise).
>
> A third reason, you want your app to run anywhere and it needs features
> not available to webapps.
Exactly. For instance you need computationally intensive clients with
multithreading.
While it's correct that often there aren't strict WORA needs in deployment
(usually you control all the clients, so they are e.g. all Windows, or all
Linux, or all Mac OS X), the typical benefit of WORA is that you can
develop with a different platform than production without much hassle. For
what I can say, I often see developers using Linux and deployment to
Windows.
Whoa, developers allowed to use linux? Do you work in the wild west? Next you'll be stating something crazy like developers use Macs and the rest of the company uses PCs. (Can you tell I work in a VERY controlled environment.)
This is probably another thread I should start - Do the folks on the podcasts/roundups sound typical or radical - because most opinions don't seem to reflect what I think is typical workplace reality. Maybe I need a new job!
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To view this discussion on the web visit https://groups.google.com/d/msg/javaposse/-/_v_cY8OdRugJ.
> I hate to sound like the cranky old man on this list, but Web Start is,
JWS has got troubles, but it's not necessarily wrong. I see them working
where I am and there's a complex application. In any case, NetBeans or
Eclipse can help. For what concerns special rights, this is not a problem,
but a requirement, in case your application needs to access local
resources. Not having this step would be a big hole in security.
> My brother-in-law works at a tourism company and is only allowed to use
> Linux.
Most of the developers I see (my primary customer, but others too) use
Linux for developing; some Windows; customers very into graphic design
(e.g. typically web 2.0 apps) use Macs.
In any case, some global statistics that I know are: mostly Windows, a
reasonable number of Linux and just a few Mac OS X. I can't disclose the
source of the statistics.
They develop on Windows, Macs and Linux. It all depends on the
particular team culture you are in.
The rest of the non-techies run corporate-sanctioned Windows machines.
I think there is an assumption that if you decide to go off-road with
your own hardware/software combination, then do not expect central IT
support. And to be honest, I think that is fine. Any software issues
devs can handle themselves and hardware issues means the machine gets
returned. The only issue this has caused me is:
1. Not being able to run a native Outlook client on Linux and have to
use the web version instead (and thats ok).
2. Not being able to VPN without WIndows but this is an issue from
home not in the office(duh!) and I got round that by running Windows 7
in a VM at home for access to works network.
WORA for us is extremely important even though we only produce web
apps and back end Java systems. Production environments are any number
of Linux flavours and we cannot guarantee our site visitors are
running windows.
There is no lie to Java, just like in medicine, they think they have
the cure for stopping smoking but instead find it gives you a boner!!!
In the early days, Java was tauted for embedded devices/running in a
browser. But where it actually succeeded was server side glue and
building web apps.
Rakesh
The JVM client GUI platform handles Windows/Mac/Linux really well and
there really isn't other dev platform that is even close. Again, there
are definitely some caveats:
- you don't get 100% of the native platform integration. For some
apps, like a local file browser, web browser, text editor or a music/
video player, you want something that is completely platform specific
and has perfect integration. But for many other apps, that's just not
necessary.
- There is more than Windows/Mac/Linux. Your Java apps won't run on
iOS or a game console (PS3/Wii/360/Vita/DS) without a major rewriting
effort. The game consoles all require C at the low level.
- For a large range of consumer applications, HTML/JavaScript really
have critical mass, and that market is increasingly rejecting JVM/
Flash/.NET.
To resummarize positives:
- High performance, excellent, best of breed Windows/Mac/Linux
support.
- Aamzing support for server side projects, abstract theoretical and
computation work, client widget data/business UI apps, and OpenGL
graphics apps.
- JVM has an amazing ecosystem: The best alt-languages, the best
IDEs, the best libraries, and the best build/test tools. When I've
tried iOS development for their amazing client ecosystem, or Haskell
for their amazingly purist approach, you really realize how much you
miss from JVM in terms of build tools, test tools, library ecosystem,
and quality IDEs.