September 26, 2007

Java for iPhone urged by Sun official

Sun exec deems Apple's snubbing a 'mistake'

The Java platform may run on 2 billion handheld phones, but not on Apple's trendy new iPhone. Apple's stance was called a mistake by a Sun Microsystems executive Wednesday at the AJAXWorld conference in Santa Clara.

"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 Distingushied Engineer and vice president for software.

JavaScript runs on the phone and someone will put Java on the iPhone, Brewin said. But by not having it on there now, iPhone users and Java developers are being shortchanged, according to Brewin.

Current Java applications, such as the LimeWire media-sharing application, could be easily ported and developers could choose the Java language for building new programs for the iPhone, he said. There also could be a lot of Java-based 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 Wednesday afternoon, but Apple CEO Steve Jobs has been dismissive of having Java run on the iPhone.

Brewin also noted the status of Sun's JavaFX multimedia display technology. JavaFX could give the benefit of rich applications to the iPhone, Brewin said.

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 highly touted technologies such as Microsoft's Silverlight and Adobe Systems's Flash and Flex, Brewin believes JavaFX offers advantages.

"I think the biggest strength to JavaFX, sort of from a core principal, 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 contribute 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 persons. 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.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.