JavaDevelopmentAndCrossPlatformTesting

Session Title: Testing Applications with VirtualBox

Problem Statements:

  • Installing and configuring the components of the AMP stack can be time consuming and complicated.
  • Applications run flawlessly from today's modern IDEs, but that's not always the case when they're deployed.
  • A developer's workstation tends to become "friendly" to his or her application. * Finding "clean" machines to test can also be expensive and time consuming.

Audience: Java developers
Author: Brian Leonard

Description

This presentation addresses the problems that developers may face when deploying applications developed with today's modern IDEs. Applications that run fine from the IDE, fail to run when deployed. Using VirtualBox in combination with ZFS, developers how have a set of tools for ensuring their applications run successfully beyond their development workstation.

Abstract

Most developers work in the comfy confines of localhost. However, all applications ultimately run, at least partially, from some remote environment. In addition, most applications will also be run on an operating system and/or browser that differs from the development platform.

Using OpenSolaris, which provides a complete web development stack, and VirtualBox, which provides the means to deploy and test applications written to the stack across other operating systems, cross platform development and testing becomes a breeze. This presentation will introduce how you can use the Sun Web Stack in combination with VirtualBox and the ZFS file system to deploy and test applications across OpenSolaris, Ubuntu and Windows XP.

Summary

This presentation begins by introducing the underlying technologies used for cross platform development and testing: the Sun Web Stack, VirtualBox and ZFS. We then examine some of the road blocks that developers run into when attempting to test their applications remotely, either via Java Web Start (in the case of a Swing application) or just over a web browser. Being able to troubleshoot JWS deployment issues, all from a single desktop, is powerful. As is being able to test deployment to a remote server or a multi-tier configuration. Because OpenSolaris is used as our development platform, ZFS can be used to take quick snapshots of our test environments for easy rollback. Finally, using VirtualBox we can easily get an idea of how our application looks and behaves on just about any combination of platform and/or browser.

Presentation Outline

# Topic Minutes Demo Speaker Notes Comments
1 OpenSolaris 10 The presentation will be delivered from OpenSolaris    
2 Sun Web Stack 5   Introduce the Sun Web Stack, it's components, etc.  
3 VirtualBox 10   Introduction. Cover guest and host operating systems. Review key features such as cross guest networking, shared folders and snapshots  
4 Cross Platform Testing 15 Demo GlassFish running on one host, database on another, browser on a third    

Slide Deck

Demo scripts

These are the demo scripts for this presentation. Use the demo prep checklist to make sure they go as smooth as possible.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

© 2010, Oracle Corporation and/or its affiliates
Powered by Atlassian Confluence
Oracle Social Media Participation Policy Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact