Lab-5533: Java Strikes Back on Client Side: Easier Development and Deployment

Expected Duration: 100 minutes

Last Updated: May 19, 2009

Java has been a huge success on server side in the last ten years. However the first success of Java was actually on the client side. It was the Applet showing a dancing duke in a web page that amazed the world. This could be regarded as the very beginning of Rich Internet Application.

For some known and unknown reasons, Java didn't continue its success on the client side, Java Applet is no longer as popular as it was in recent years. Fortunately, the new release of Java SE 6 update 10 together with Java FX was targeting the problems Java had as a client side platform. Among all the features, the re-written Java Plugin Framework significantly improves the behavior of Java/Java FX applications deployed via Web. With all that, Java now strikes back on client side.

This lab introduces the Liveconnect bridge between Java/Java FX and JavaScript, which makes it easy for the Java/Java FX application deployed to the browser to interact with JavaScript/DOM objects on the host web page. With Liveconnect, web application with rich experience can be created.

This lab also introduces the usage of Java deployment toolkit included in Java SE 6 update 10+, which helps to deploy Java/JavaFX application on web in a much easier way.

Lastly but certainly not least, this lab introduces a revoluionary of deployment which breaks the boundary of web applications and stand alone desktop applications

Copyright
Copyright  2009 Sun Microsystems, Inc. All rights reserved. Sun, Sun Microsystems,
the Sun logo, Solaris, Java, the Java Coffee Cup logo, JavaOne, the JavaOne logo,
and all Solaris-based and Java-based marks and logos are trademarks or registered
trademarks of Sun Microsystems, Inc. in the United States and other countries.
                        

Prerequisites

 

This hands-on lab assumes you have some basic programming experience in the following technologies:

  • Java™ programming or Java FX™ programming
  • JavaScript programming

System Requirements

 
  • Supported OS: Solaris™ 10 Operating System, OpenSolaris™ Operating System, Windows, Linux
  • Memory requirement: 512MB
  • Disk space requirement: 300MB

Software Needed For This Lab

 

Please install the following set of software. If you have any questions on installation, please feel free to send questions to the lab forum mentioned below.


Notations Used in This Documentation

 
  • <lab_root> - directory into which lab zip file is unzipped
    • This document uses <lab_root> to denote the directory under which you have unzipped the lab zip file of this hands-on lab. The name of the lab zip file of this hands-on lab is 5533_javaseclient.zip.
    • Once you unzipped the lab zip file under <lab_root>, it will create a subdirectory called javaseclient. For example, under Solaris, if you have unzipped the lab zip file in the /home/user directory, it will create /home/user /javaseclient directory.

Lab Exercises

 

Additional Resources

 

Where To Go For Help

 
  • You can send technical questions via email to the authors of this Hands-on lab (and experts on the subject)
  • For general questions and feedback on JavaOne Hands-On Labs, please use the JavaOne2009_HOL_Forum
 

Back to top
To exercises

Update Your Java Runtime Environment