IT Jobs
Sun begs Apple for iPhone Java
But they don't like open systems, exec says.
By Paul Krill, InfoWorld
Published: 03:51 GMT, 27 September 07
A Sun Microsystems' executive has criticised Apple over its failure to include Java on its popular iPhone device.
"I think it's a mistake. I think it would provide a lot more flexibility in applications being developed," for the iPhone, said Bob Brewin, Sun Distinguished Engineer and vice president for software, at the AJAXWorld conference in California.
JavaScript runs on the phone and someone will put Java on the iPhone, Brewin said. But by not having it now, iPhone users and Java developers are being short-changed, according to Brewin.
Current Java applications, such as the LimeWire media-sharing application, could be easily ported and developers could use Java to build new programs for the iPhone, he said. There also could be a lot of Java games made to work on the device, Brewin said.
He attributed Apple's stance to the company wanting developers to develop for only a small set of APIs. "Fundamentally, they don't like open systems," Brewin said.
Apple representatives could not be immediately reached for comment, but Apple president Steve Jobs has been dismissive of having Java run on the iPhone.
Brewin also said Sun's JavaFX multimedia display technology could give the benefit of rich applications to the iPhone.
The JavaFX compiler is available in an early-access release right now. Sun expects to release components of the JavaFX runtime next year, Brewin said. Binaries for the JavaFX Mobile component of the platform will be showcased next year as well.
While JavaFX will compete with technologies such as Microsoft's Silverlight and Adobe's Flash and Flex, Brewin believes JavaFX offers advantages.
"I think the biggest strength to JavaFX, sort of from a core principle, is because it is built on Java, you know it is ubiquitous," Brewin said.
"You're not ... beholden to a proprietary implementation of another vendor," Brewin said. JavaFX also offers a simpler programming model than AJAX (Asynchronous JavaScript and XML), he added.
Also, Brewin said the Java Community Process, a multi-vendor effort on making changes to the Java platform, is going through a transition because of the recent open-sourcing of Java. "When we open-sourced Java, it just changed the dynamic a bit," he said.
One example of how it has changed is contributors have to think about whether they want to offer their intellectual property to what is now an open source platform. But Brewin anticipates the continuance of the JCP. "I think the JCP will thrive," he said.
During a morning presentation, Brewin spoke of a "blue shift" and "red shift" phenomenon in computing, comparing IT to the physics concepts of blue and red shifts, in which light turns red as it becomes more distant and blue as it gets closer.
The red shift represents applications on the web, which go out worldwide and scale to millions of people. The blue shift represents computing in the enterprise, Brewin said.
Building red shift applications requires thinking about a different application space, one in which there will not just be 10,000 people using the application behind the firewall but one that could serve 10 million customers, Brewin said.


.gif)





Add your commentComments
Ling Dai | Published: 06:42 GMT, 21 January 2008
Java is wonderful! iPhone sucks
Insider | Published: 14:50 GMT, 28 September 2007
Moron. You've guaranteed that iPhone will NEVER have Java now with these comments. Nice going. How are those Java numbers now? Are people abandoning it even on the server now?
Gosling | Published: 13:32 GMT, 28 September 2007
Dear Sun, Forget Apple and just make a jPhone already. We can show off our ability to complicate things and run a JVM inside of Windows running virtually on top of a mini-Hypervisor running on top of your choice of Solaris or Linux. It might come in last place in every review, but the hackers will love it. We're indebted to hackers, they make the network the computer that we've known and loved so well these many years. I really don't understand why anyone would want an iPhone. They must not really be hackers.
James Katt | Published: 09:52 GMT, 28 September 2007
I think Sun is wrong. JAVA is not made for a low power, low memory, slower CPU device such as the iPhone. JAVA takes too many resources and would be too slow. I would prefer compiled native-code programs to run on the iPhone. For this, Objective-C works well. JAVA is also still a proprietary product. If Sun was serious about JAVA, it should license JAVA using BSD or GPL. Only then would JAVA be not proprietary and would allow Apple to consider JAVA without having to pay IP license fees to Sun. This is the same issue as with Adobe's Flash.
deepkid | Published: 07:40 GMT, 28 September 2007
Brewin should have kept his mouth shut. If he didn't know better than to cross Steve Jobs with such comments, he'll soon learn.
da moof | Published: 07:29 GMT, 28 September 2007
Yeah, well java is a huge stinking pig. They neglect to mention that. I sure as hell don't need it on my phone, jacking up my battery life, and slowing it down.
Technophile | Published: 05:06 GMT, 28 September 2007
I'm sorry, but Java on the iPhone is an appauling idea. Java apps are nortoriously slow. Native apps are exponentially faster. Sorry Sun, even if they did put Java on it to run those "killer apps" I wouldn't be bothered starting up the Java machine to run any of those apps!
Poppycock | Published: 04:12 GMT, 28 September 2007
iPhones already have native SDK and plenty of development going on, and to suggest/dangle Limewire as a 'killer app' is laughable. --Vaughnsc