YOUR FEEDBACK
Virtualization Player Citrix Buys VMware's Open Source Rival for $500M
Citrix News Desk wrote: The day after the great VMware IPO Tuesday, suppos...
Did you read today's front page stories & breaking news?

2007 East

  Diamond Sponsor:  
Laszlo
The Browser, the Portal, and the Desktop

  Platinum Sponsors:  

Adobe
'HDUX' - High Definition User Experience with Flex & Apollo
Cynergy
It Takes A Village: Building a World Class RIA Development Group
JackBe
The User is the Killer App. Empower Them!
Tibco
AJAX RIAs and the Service-Oriented Platform

      Gold Sponsors:     
Backbase
AJAX Best Practices
Helmi
Helmi Open Source RIA Platform
ICESoft
Secure Enterprise AJAX with ICEfaces
JetBrains
Is An IDE the Fifth Wheel or Sixth Sense?
Kapow
Serving Mashups from the Long Tail of the Web
Nexaweb
Enterprise Web 2.0 - Programming with Levers, Dials and maybe Switches
Click For 2006 Event Webcasts
SYS-CON.TV
TOP THREE LINKS YOU MUST CLICK ON


Desktop Java Slims Down to Enter the AJAX Race
A number of very significant development efforts are underway that bode well for Desktop Java's future

Digg This!

A number of very significant development efforts are underway that bode well for Desktop Java's future.

On the language side is the Java FX script project www.sun.com/software/javafx/index.jsp. Java FX is neat because it provides a high-level scripting interface that runs on top of the Java 2D API. From the users' viewpoint it means they don't have to write Java code and, for better or worse, understand the intricacies of threads, Java 2D or Swing class hierarchies, timing frameworks, and so forth. Instead they just write script that describes the desired GUI at a high level, including animation effects, graphic effects such as gradients or noise, and data binding in the base API. There are some nice tools out there to help teach the language syntax that's available on https://openjfx.dev.java.net/; the goal of the FX team is to provide a syntax and experience that is palatable to graphic designers and folks who are interested in finessing the visual experience of the application. Currently at runtime it operates as a kind of fourth-generation language because an interpreter creates Java code from the FX script and then calls the appropriate Java 2D APIs. The long-term goal of the team though is to compile from FX script straight to byte codes.

On its own Java FX is s a nice addition to the desktop Java stable; however, it still relies on the presence of a JRE that can run the code it generates. To those who see FX as being an entrant into the rich Internet application space, competing with Adobe Flex for example, there remains the difficult problem of how to get the install experience and runtime performance of desktop Java comparable to other rich Internet application architectures. Fortunately this problem is being tackled by another very interesting project, the Java kernel.

The Java kernel initiative recognizes the fact that most Java applications typically use a subset of the JRE, an example being Limewire (a file-sharing client app) that weighs in at about 1/3 of a total JRE size. The kernel will repackage the JRE such that only the portions required to run an app are downloaded as and when they are needed. The base portion that every program needs would be downloaded as a minimum for the JRE to start, and an application can either explicitly specify additional dependencies it needs, or rely on ClassNotFound exception magic to cause missing classes to be downloaded on demand. This is all great news to help slim down and make more efficient a Java program's delivery to a user's desktop. In addition to tackling how Java programs are downloaded, the kernel is also looking at the startup performance of Java programs. While warm start times have decreased significantly over the last few releases, a cold start JRE still requires a delay of many seconds before the application's main(String[]) is called. The Java kernel is attempting to tackle this by effectively turning a cold start experience into a warm one, using techniques such as pre-loading the JRE from disk into memory, as well as having operating system services whose job it is to monitor available memory and JRE activity to get the best performance for the user. In addition to these, the kernel is also providing a new browser plug-in that gives Web start developers more information about what's on the desktop, the available JRE levels and vendors in detail, and generally makes the whole JNLP experience slicker and more robust.

Both the Java kernel and Java FX are great news for Desktop Java. The kernel is good because it's recognizing that Swing has reached a stage of maturity where the problem isn't one of missing features, but how to help developers get their applications onto a user's desktop as quickly and efficiently as possible. FX is great news because it opens up a whole new set of developer to Java; those who are comfortable with scripting languages and want to do advanced animation and graphics effects easily with a few lines of code. The end result of both will be more applications written in Java running on more users' machines, faster and easier for both developer and user.

About Joe Winchester
Joe Winchester, JDJ's Desktop Technologies Editor, is a software developer working on development tools for IBM in Hursley, UK.

SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
In It? Reprint It! Contact advertising(at)sys-con.com!
LATEST JAVA STORIES & POSTS
Virtualization: "The Leading Technology of the 21st Century"
The recent activity and interest around virtualization including the VMware IPO and Citrix acquisition of XenSource is indicative of the importance of virtualization as the leading technology of the 21st century.
Happy Birthday, Ajax4jsf!
Ajax4jsf has turned one and what a year it has been. It was an amazing ride for all of us here at Exadel. The popularity of Ajax4jsf is evidenced by the size of the community, available resources, examples, blog entries, and articles. Also, a significant number of organizations t
AJAXWorld Conference $250 Savings Deadline Expires Friday, August 17
AJAXWorld 2007 West will take place on September 23-26, 2007, at the Santa Clara Convention Center, in Santa Clara, California, and will offer a new dedicated 'iPhone Track.' Another dedicated track will offer a comparative education opportunity for conference delegates on emergi
JetBrains Releases IntelliJ IDEA 7.0 Milestone 2
'Milestone 2 showcases a major feature set of the upcoming new version,' said Sergey Dmitriev, JetBrains CEO, 'and judging by the feedback from our Early Access Program (EAP) members, IntelliJ IDEA 7.0 is going to be another big step forward for IDEs.' JetBrains has announced the
SYS-CON Media Announces the 2007 Java Developer's Journal Readers' Choice Awards
SYS-CON Media (www.sys-con.com), the world's leading i-technology media and events company, has announced the winners and finalists of its 2007 Java Developer's Journal Readers' Choice Awards.
Sun Microsystems To Let More People Go
Goldman Sachs predicted another restructuring at Sun last week amid the euphoria that a first look at Sun's June numbers engendered with investors and, lo and behold, Sun Tuesday confided to the SEC that it's anticipating throwing a unquantified number of its staff from 'various
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
Receive Breaking i-Technology News as it Happens...
AJAX Newsletter
Java Newsletter
Open Source/Linux Newsletter
Microsoft .NET Newsletter
Flex Newsletter
Internet TV Newsletter
IT Solution's Guide Newsletter
 
SOA/Web Services Newsletter
Virtualization Newsletter
Web 2.0 Newsletter
ColdFusion Newsletter
PowerBuilder Newsletter
XML Newsletter
Eclipse Newsletter
Your E-Mail: 
State: 
Zip Code: 



TODAY'S TOP LINKS YOU MUST CLICK ON !
ADS BY GOOGLE


BREAKING JAVA NEWS
Nexaweb Announces Enterprise Web 2.0 Summer eConference Series
Nexaweb Technologies®, Inc., provider of the leading standards-based platform for buildi