12.01.2013 Views

JavaFX in Action - Manning Publications

JavaFX in Action - Manning Publications

JavaFX in Action - Manning Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Introduc<strong>in</strong>g <strong>JavaFX</strong><br />

Fast forward 10 years and the buzz was once aga<strong>in</strong> about onl<strong>in</strong>e applications: RIAs and<br />

cloud comput<strong>in</strong>g. Yet Ajax and HTML were struggl<strong>in</strong>g to provide the k<strong>in</strong>d of ref<strong>in</strong>ed<br />

UI many now wanted, and Flash’s strengths lay more <strong>in</strong> animation than solid functional<br />

GUIs and data manipulation.<br />

Could Java be given a second chance?<br />

Java had proved itself <strong>in</strong> the enterprise space, amass<strong>in</strong>g many followers <strong>in</strong> the software<br />

community and a vast archive of third-party libraries. Yet Java still had one major<br />

handicap—on the desktop it rema<strong>in</strong>ed a tool for cola-swigg<strong>in</strong>g, black-T-shirt-wear<strong>in</strong>g<br />

code junkies, not trendy cappucc<strong>in</strong>o-sipp<strong>in</strong>g, goatee-strok<strong>in</strong>g artists. If Java was to be<br />

the answer to the RIA dilemma, it needed to be more Leonardo da V<strong>in</strong>ci and less Bill<br />

Gates (figure 1.5).<br />

In 2005 Sun Microsystems acquired SeeBeyond Technology Corporation, and <strong>in</strong><br />

the process it picked up a talented software eng<strong>in</strong>eer by the name of Chris Oliver. Oliver’s<br />

experimental F3 (Form Follows Function) programm<strong>in</strong>g language sought to<br />

make GUI programm<strong>in</strong>g easier by design<strong>in</strong>g the syntax around the specific needs of<br />

UI programm<strong>in</strong>g. As they pondered how best to exploit the emerg<strong>in</strong>g RIA market, the<br />

folks at Sun could surely not have failed to note the potential of comb<strong>in</strong><strong>in</strong>g the exist<strong>in</strong>g<br />

Java platform with Oliver’s new graphics power tool. So <strong>in</strong> 2007, at the JavaOne<br />

Conference (the community’s most important annual gather<strong>in</strong>g), F3 was given center<br />

stage as Java’s beachhead <strong>in</strong>to the new RIA market.<br />

And as if to demonstrate its importance, F3 was blessed with a sexy new name: <strong>JavaFX</strong>!<br />

Figure 1.5 The StudioMOTO demo, one of the orig<strong>in</strong>al <strong>JavaFX</strong> examples, shows off a glossy UI with<br />

animation, movement, and rotat<strong>in</strong>g elements all respond<strong>in</strong>g to the user’s <strong>in</strong>teraction.<br />

7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!