LAB-5573: Leveraging JavaScript Toolkits for End-to-End Connectivity in Web Applications

Expected Duration: 100 minutes
Contacts: Troy Giunipero

Last Updated: May 17, 2009

Web 2.0 features are becoming increasingly predominant in today's applications. One up-and-coming feature is the use of JavaScript toolkits, such as Dojo, Script.aculo.us, and Yahoo! UI, which allow web pages to behave more like desktop interfaces while overcoming browser incompatibilities and utilizing code that is maintainable, accessible, and standards-compliant.

Development tools have also needed to adapt to these trends by becoming more versatile in terms of language support, as well as monitoring and debugging features.

Using the NetBeans IDE, this Lab explores several scenarios that enable the developer to include a JavaScript toolkit in a project that interacts with a backend data store, such as Java DB and MySQL databases, as well as a Java ArrayList, using asynchronous (AJAX) communication.

It also demonstrates how to take advantage of numerous tools that are commonly included in any web development environment, namely a JavaScript editor and debugger, and an ability to track communication between layers.

Technologies that will be covered in this Lab are JavaScript, Java, JSON, JPA, and SQL.

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 knowledge of, or programming experience in, the following concepts and technologies:

  • JavaScript scripting language
  • Java programming language
  • Web application development

System Requirements

 
  • Supported OSes: Solaris™M 8/9/10 Operating System (OS), OpenSolaris™ Operating System (OS), Linux, Windows, Mac OS X 10.4+
  • Memory requirement: 512MB
  • Disk space requirement: 200MB

Software Needed For This Lab

 

Please install the following set of software.


General Notes

 
  • A working Internet connection is preferable; you will be asked to visit numerous online resources throughout the exercises.

Lab Exercises

 

Additional Resources

 

Where To Go For Help

 
  • You can send technical questions via email to the author of this hands-on lab: Troy Giunipero.
  • For general questions and feedback on JavaOne Hands-On Labs, please use the JavaOne_HOL_Forum.
 

Back to top
To exercises

Update Your Java Runtime Environment