decoration decoration
Stories

GROKLAW
When you want to know more...
decoration
For layout only
Home
Archives
Site Map
Search
About Groklaw
Awards
Legal Research
Timelines
ApplevSamsung
ApplevSamsung p.2
ArchiveExplorer
Autozone
Bilski
Cases
Cast: Lawyers
Comes v. MS
Contracts/Documents
Courts
DRM
Gordon v MS
GPL
Grokdoc
HTML How To
IPI v RH
IV v. Google
Legal Docs
Lodsys
MS Litigations
MSvB&N
News Picks
Novell v. MS
Novell-MS Deal
ODF/OOXML
OOXML Appeals
OraclevGoogle
Patents
ProjectMonterey
Psystar
Quote Database
Red Hat v SCO
Salus Book
SCEA v Hotz
SCO Appeals
SCO Bankruptcy
SCO Financials
SCO Overview
SCO v IBM
SCO v Novell
SCO:Soup2Nuts
SCOsource
Sean Daly
Software Patents
Switch to Linux
Transcripts
Unix Books
Your contributions keep Groklaw going.
To donate to Groklaw 2.0:

Groklaw Gear

Click here to send an email to the editor of this weblog.


Contact PJ

Click here to email PJ. You won't find me on Facebook Donate Paypal


User Functions

Username:

Password:

Don't have an account yet? Sign up as a New User

No Legal Advice

The information on Groklaw is not intended to constitute legal advice. While Mark is a lawyer and he has asked other lawyers and law students to contribute articles, all of these articles are offered to help educate, not to provide specific legal advice. They are not your lawyers.

Here's Groklaw's comments policy.


What's New

STORIES
No new stories

COMMENTS last 48 hrs
No new comments


Sponsors

Hosting:
hosted by ibiblio

On servers donated to ibiblio by AMD.

Webmaster
Fragamention in Java comes from Sun | 380 comments | Create New Account
Comments belong to whoever posts them. Please notify us of inappropriate comments.
Fragamention in Java comes from Sun
Authored by: Anonymous on Thursday, May 24 2012 @ 08:03 PM EDT
More like "Write Once, Test Everyehere".

Yes, you can write a program that runs on a variety of platforms, but it's
performance is often not acceptable across the board. for example, the rendering
and layout of windows on the screen is an excellent example, depending on the
screen resolution, text can be oversized or undersized for the layout of
controls. There is a mainstream Java-based application we use to use at work
that always managed to size the window so it was undersized such that you had to
vertical scroll to get to the OK button. Was that the programmers fault?
Probably, but I cannot think of another environment where creating this problem
is only possible with considerable effort.

AWT demonstrates the problem. It dumbed down the user interface to create
commonality between the different operating systems to the point of being next
to useless and still managed to get window layouts wrong. Swing was an
imporovement. The real solution is to create OS-specific APIs that make maximum
use of the OS capabilities, but that takes you back to the situation of just
about every other language.

"Write once, test everywhere" is not just a Java problem. It applies
to all languages, but for Sun/Oracle to imply that you can write a program once,
compile it once, and it will run properly everywhere is misleading. Nearly all
non-trivial programs need to be customised and adapted to each environment at
the source code level. The basic difference between Java and C it how on many
systems one must click the compile button.

Don't get me wrong. The goal of Java was admirable. It is a pity that it didn't
work. For Oracle to fight tooth and nail over something that doesn't achieve the
goals they are arguing is just silly. Get over it, guys.

[ Reply to This | Parent | # ]

Groklaw © Copyright 2003-2013 Pamela Jones.
All trademarks and copyrights on this page are owned by their respective owners.
Comments are owned by the individual posters.

PJ's articles are licensed under a Creative Commons License. ( Details )