Paul Krill
Editor at Large

JavaFX Script bringing RIAs to Java

news
Mar 28, 20082 mins

Technology cited for elegance, ease-of-use compared to Swing

Sun is set to demonstrate JavaFX Script, a scripting variant of Java geared to the rich Internet client space, in a preview version in May with the official 1.0 release due shortly thereafter, a Sun official said Thursday.

The technology is to be shown at the JavaOne conference in early-May in San Francisco, said Brian Goetz, compiler technology lead for JavaFX Script at Sun. JavaFX Script was announced at JavaOne in May 2007 as part of the larger JavaFX platform for presenting graphical experiences on various types of systems.

With JavaFX Script, Sun is looking to overcome issues with Java on the Internet client. Developing these applications for the client with the Java that has been around since 1995 “hasn’t worked,” Goetz said at TheServerSide Java Symposium in Las Vegas.

“Applets didn’t get the support from the browser that they needed in order for them to work,” Goetz said. “The pain of developing applications in Swing is more than most developers are willing to endure and so the approach has not caught on and that’s largely because Java has been so successful on the server side and we’ve paid more attention to that.”

Now, with JavaFX Script, Sun is renewing its emphasis on the client. During a presentation at the Java Symposium Thursday, developer James Weaver of LAT described the scripting language as “very elegant.”

With JavaFX Script, an interface is declared using declarative scripting instead of Swing, Goetz said.

Rich client Java is back with JavaFX Script, he said.

“This kind of thing is showing you that it’s back with a vengeance,” Weaver said. “The tools are coming to make it even easier to write.”

A NetBeans plugin for JavaFX Script already is offered, he said. Weaver also said he expects a tool similar to Adobe Photoshop that will leverage JavaFX Script.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author