desktop track overview & new features in the …€¢ubuntu 8.04 (hardy heron) & fedora 9...

55
Desktop Track Overview & New Features in the upcoming Java™ 6u10 Release Larry McDonough & Ethan Nicholas Sun Microsystems TS-6649

Upload: dinhtuong

Post on 15-Jun-2019

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

Desktop Track Overview & New Features in the upcoming Java™ 6u10 Release

Larry McDonough & Ethan NicholasSun MicrosystemsTS-6649

Page 2: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 2

Find out what's in store with Java 6u10 Release

(the release formerly known as “Consumer JRE”)

Page 3: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 3

Agenda

State of the Desktop WorldWhat's Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX™ Platform on the DesktopSummary

Page 4: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 4

Market Penetration on PCs Continues Enjoying Worldwide Ubiquity

Why develop on anything else?

May '07

Jun Jul Aug Sep Oct Nov Dec Jan '08

Feb0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

Java Market PenetrationWorldwide Internet-Connected PCs

Source: Omniture Source Catalyst

276 Million PCs shipped in 2007Distrib. agreements with all top 10 PC OEMsTop 10 OEMs = 172MVibrant whitebox OEM ProgramThat’s alotta Java code!

Page 5: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 5

Java Language Usage

Usage up in North America in 2007Flat, but strong in other geosEstimates for 2008 are up in all geos

Spring 2005

Fall 2005 Spring 2006

Fall 2006 Spring 2007

2008 (est’d)

05

10

1520253035404550556065

Evans Data Survey: Fall 2007

North AmericaEMEAAPAC

Perc

ent o

f Tim

e D

evel

opin

g in

Jav

a

Page 6: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 6

JRE™ Software Downloads Continue to Climb

New JRE software downloads rising steadily (blue)Auto-update drives advancement• New features!• Performance

Improvements!• Security updates!

Total downloads approached 100 Million in March!

Apr May Jun Jul Aug Sep Oct Nov Dec Jan '08

Feb Mar0

10

20

30

40

50

60

70

80

90

100

Total JRE DownloadsNew JRE Downloads vs. AutoUpdate

New JRE downloads

AutoUpdate

Mill

ion

Uni

ts

Page 7: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 7

Paralog.netSkydiving logbook

Page 8: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 8

WeBot.comYour Music & Photos on any Computer Accessible Anywhere

Page 9: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 9

Elluminate.comCollaborative Communication Tools

Page 10: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 10

UpNext.com3D Maps &Social Networking

What more do you need?

Page 11: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 11

Canoo’s Music PinboardJavaFX Script!

Amazon meets flickr meets YouTube in a nice iTunes-like packageThe ultimate mash-up!

Page 12: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 12

Palantir TechnologiesRevolutionizing the way government agencies and financial institutions analyze information

http://www.palantirtech..com/

Page 13: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 13

Pearson’s PowerTeacherDesigned for Educators!

AttendanceGrade bookParental CommunicationPosting Assignments

http://www.powerschool.com/

Page 14: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 14

Interactive Pulp’sCapture the Newbies Game

http://www.nicktoonsnetwork.com/

Page 15: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 15

Agenda

The State of the Desktop WorldWhat’s Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX Platform on the DesktopSummary

Page 16: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 16

What’s Coming up Next?

JDK™ version 6u10 beta is released• http://download.java.net/jdk6/• Huge number of features and capabilities!

JDK version 7 and beyond...• App Framework (JSR 296) • Beans Binding (JSR 295)• Modules (JSR 277)

OpenJDK6• Implementations appearing in major GNU/Linux Distros:• Ubuntu 8.04 (Hardy Heron) & Fedora 9

Page 17: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 17

Desktop Roadmap(Dates are best-guess and may change)

JDK 6u10 βPlatform Update

Enhancements to JavaFX, Graphics, Deployment

JDK 7

JDK 6u10

JavaFX Desktop

April2008

Late Summer

2008

Fall2008

Java SE

Page 18: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 18

Summary of the Market

Java technology is running on all the desktops you care about• Over 90% of the world’s PCs!

Consumers all over the globe are pulling down the latest new features, performance enhancements, and security updates at mind-boggling rates• Nearly 100 Million downloads in March!

Businesses in all markets continue to invest and leverage the power of Java technology• Education, finance, social networking, development

tools, games, communication, ...

And, the value of Java platform continues to improve...

Page 19: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 19

Agenda

The State of the Desktop WorldWhat's Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX Platform on the DesktopSummary

Page 20: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 20

New Java Plug-In Coming in Java version 6u10

Current (old!) plug-in has a lot of limitations• Has stability issues• Plug-in JRE runs in the web browser's address space

• Only one JRE version can be used at a time• No developer control over which version• No developer control over JVM™ args, memory settings, etc.• JRE crash kills entire browser• Browser freezes while JRE starts

New plug-in runs Out-Of-Process• Tiny stub runs inside browser• Applets themselves run in one or more separate JRE processes

• Choose JRE versions!• Specify JRE args!• Can't crash browser!

Requires IE7 / Firefox 3

Page 21: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 21

Applets using JNLP

We already have a convenient file format for specifying JRE versions, args, etc... it's called JNLPStarting in 6u10, you can use JNLP for both applets and Web Start• Re-use existing JNLP components• Give applets access to JNLP features like PersistenceService,

FileOpenService, etc.• Give JNLP components tight browser integration

Page 22: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 22

JNLP Applet Example

<APPLET NAME=”SimpleApplet1Num1” CODEBASE=”jars” CODE=”SimpleApplet1” archive="SimpleApplet1.jar, SimpleApplet.jar" WIDTH=480 HEIGHT=120>

<PARAM name="param1" VALUE="param1_value"><PARAM name="param2" VALUE="param2_value"><PARAM name="jnlp_href" VALUE="SimpleApplet1-jnlp.jnlp">

</APPLET>

Page 23: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 23

Agenda

The State of the Desktop WorldWhat's Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX on the DesktopSummary

Page 24: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 24

Deployment ChallengesDetecting JRE versionInstalling new JREUpgrading existing JRESuccessfully running applets (<applet>, <embed>, <object>...)Web Start UI issues

We've listened, and now introducing...

Page 25: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 25

Deployment ToolkitPartially available now, fully delivered in Java 6u10 Release

Announced JavaOneSM 2007 conference• Early access is now available at

https://jdk6.dev.java.net/testDT.html• Import the JavaScript file, use it to detect JREs / run applets /

launch web start programsJavaScript API located at http://java.com/js/deployJava.jsImport script and call functions of “deployJava” object

Page 26: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 26

Deployment Toolkit Example<script

src=“http://java.com/js/deployJava.js”></script>

<script>deployJava.runApplet({codebase: 'http://www.mycompany.com/java/', archive:'myapplet.jar', code:'Main.class', width:400, height:300}, null, “1.4”);</script>

Page 27: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 27

Deployment Toolkit JavaScript API

getJREs() Returns a list of installed JREs

versionCheck(pattern)Returns true if there is a matching JRE installed (e.g. “1.5*”, “1.6+”)

installLatestJRE()Installs the latest JRE using a browser- and platform-appropriate mechanism

Page 28: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 28

Deployment Toolkit JavaScript API

writeAppletTag(attributes, parameters)outputs an <applet> tag

runApplet(attributes, parameters, version)ensures that an appropriate JRE is installed and then outputs an applet tag

isWebStartInstalled()returns true if Web Start is installed

Page 29: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 29

Deployment Toolkit JavaScript API

launch(jnlp)opens a JNLP file in Web Start

createWebStartLaunchButton(jnlpURL)outputs a button which, when clicked, will ensure that Web Start is installed and launch the specified JNLP URL

setAdditionalPackages(packageList)specifies a list of bundles for Java Kernel to download

Page 30: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 30

JavaScript Limitations

By itself, the JavaScript API can only use “standard” mechanisms for detecting and installing Java.

Can only detect highest installed JREDetects “family version” only (1.5 vs. 1.5.0_11)JRE installation isn't seamlessUser may be asked whether to open or save a JNLP file

Page 31: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 31

Solution: Native Plug-Ins

Bundled with Java 6u10 releaseProvide better / more accurate results• Full version detection• Multiple JRE detection• Seamless installation

API remains the same

Page 32: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 32

Agenda

The State of the Desktop WorldWhat's Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX Platform on the DesktopSummary

Page 33: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 33

Startup Terms

Cold Start• The JRE code is not currently in memory and must be read from

disk• Disks are orders of magnitude slower than memory and... well, the

JRE isn't small• This is where the perception of “the JRE takes too long to start”

comes fromWarm Start• The JRE code is currently in memory and merely needs to run its

initialization routines• This is surprisingly quick; around 0.1 sec on a modern machine

Cold start is basically disk read time + warm start

Page 34: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 34

Cold Start vs. Warm Start

A lot of work has gone into both of these metrics over the last eleven years.On a typical modern desktop machine, warm starts are now nearly instant. There isn't much left to improve.Cold start continues to be an issue. No matter how much we optimize things, hard drives are still slow.

Page 35: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 35

Solution: Java Quick StartComing in Java 6u10 Release

Background process which periodically reads from the JRE's files, causing them to be stored in the disk cache.While in the disk cache, all starts are warm starts, and therefore virtually instant.Doesn't “really” consume memory – if the OS needs more memory, it can simply throw the data away, rather than having to write it to the pagefile.

Page 36: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 36

Limitations

It's not a universal fix. On memory-constrained computers Quick Start will automatically disable itself to avoid thrashing the system.

But, in most cases the Java startup time issue is effectively solved.

Page 37: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 37

Agenda

The State of the Desktop WorldWhat's Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX Platform on the DesktopSummary

Page 38: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 38

JRE Size

Size in MB0

1

2

3

4

5

6

7

8

9

10

11

12

Java 1.1Java 1.2Java 1.3Java 1.4Java 5Java 6

As more features are added to Java technology, its size has increased substantially. There is no end in sight.

Page 39: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 39

Usage

The size of the JRE can be a significant turnoff for client-side use.Many APIs aren't frequently used:• RMI• SQL• XSLT• CORBA• etc.

It turns out most programs use less than half of the JRE's code.

Page 40: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 40

Solution: Java Kernel

Modularized JRECore install (the “kernel”) contains:• The JVM itself and supporting libraries• The core classes needed to boot the JVM• The basic components of the Java Plug-In and Java Web Start• The most commonly-needed client-side code (AWT, etc.)• ...in other words, enough to run most simple applets

Required components are downloaded on demandRemaining components are downloaded in the backgroundFinal result is byte-for-byte identical to the offline JRE

Page 41: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 41

Kernel: Results

Size in MB0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

Base InstallMost AppletsSwingSet2LimeWireEntire JRE

Page 42: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 42

Demo: 6u10 Deployment

Page 43: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 43

Agenda

The State of the Desktop WorldWhat's Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX Platform on the DesktopSummary

Page 44: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 44

Performance & UsabilityNew Direct3D 9 based Java 2D™ API pipeline• Performance & Stability

Native Text Rendering on Windows• Improved fidelity of AA text

Improved patchingUse pack200 for applets & JNLP without a servletUse versioning for JNLP without a servlet

Page 45: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 45

Agenda

The State of the Desktop WorldWhat's Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX Platform on the DesktopSummary

Page 46: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 46

Before: Metal

Page 47: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 47

After: Nimbus

Page 48: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 48

Activating NimbusUIManager.setLookAndFeel(<nimbus>);-Dswing.defaultlaf=<nimbus>Add swing.defaultlaf=<nimbus> to <JAVA_HOME>/lib/swing.propertiesNimbus will appear in the LaF list for programs which query it

<nimbus> = com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

Page 49: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 49

Agenda

The State of the Desktop WorldWhat's Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX Platform on the DesktopSummary

Page 50: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 50

JavaFX Platform on the Desktop

JDK6: Baseline release for JavaFX JDK6u10: Empowering innovation in Java FX with: • Support for Translucent

and Shaped Windows• Support for V-Synced

double buffering• HW accelerated rendering

(OpenGL®/Direct3D) leveraged if present

Page 51: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 51

Agenda

The State of the Desktop WorldWhat's Coming Up Next?New Java Plug-InDeployment ToolkitJava Quick StarterJava KernelPerformance & UsabilityNimbus Look and FeelJavaFX Platform on the DesktopSummary

Page 52: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 52

Summary

New Java Plug-In• Specify JRE version / arguments• More reliable

Deployment Toolkit• Simplifies using Java technology in a web browser

Java Quick Starter• Faster cold starts on most systems

Java Kernel• Shorter download + install + launch times

6u10 powering JavaFX platform with new capabilities • Support for Translucent and Shaped Windows• Support for V-Synced double buffering• Better graphics performance

Page 53: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 53

For More Information

Deployment Toolkit• https://jdk6.dev.java.net/testDT.html• http://java.com/js/deployJava.js

New Plug-In • http://mozillalinks.org/wp/2008/02/a-better-java-for-firefox-3/

JavaFX SDK: How to receive the SDK ?• The JavaFX SDK Preview release will be available in June 2008.• Please visit http://www.javafx.com to pre-register for the SDK

Preview release.

Page 54: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 54

Related SessionsTechnical Sessions• TS-6290 Applets Reloaded: Introducing the Next-Generation

Java™ Plug-in • TS-6096 Nimbus: The New Face of Swing• TS-6609 Using JavaFX Script To Build Swing Applications • TS-6656 Extreme GUI Makeover: Swing Meets FX• TS-5214 OpenJDK™ Community Update• TS-6185 Modularity in Java™ Platform

BOFs• BOF-6583 Java™ Deployment: Meet the Team • BOF-6101 Nimbus: Beyond the Basics • BOF-5037 High-Resolution Monitors: Make Your User Interfaces

Scale with the Future

Page 55: Desktop Track Overview & New Features in the …€¢Ubuntu 8.04 (Hardy Heron) & Fedora 9 2008 JavaOneSM Conference | java.sun.com/javaone | 17 Desktop Roadmap (Dates are best-guess

2008 JavaOneSM Conference | java.sun.com/javaone | 55

Larry McDonough & Ethan NicholasSun MicrosystemsTS-6649