RIA Development Center
Features Tips Events
Delivering business processing logic through RIA (Rich Internet Application) format is very attractive to architects, developers and operators of IT shops. RIA combines the richness of the desktop application with the ease of deployment, ubiquity and platform independence of the web application. RIAs in the form of mashups, are very popular in the consumer space but have yet to see similar success in the enterprise space. Enterprise applications are stateful and process-centric in nature. Read more
See more tips
Get regular email alerts when we publish new features!
DevX RIA Development Update

More Newsletters
Crash Course in Next-Gen RIA: AIR, Silverlight, and JavaFX
Get a hands-on introduction to the newest RIA technologies from Adobe, Microsoft, and Sun by building demo applications using AIR (Flex), Silverlight (CLR), and JavaFX. 

More Resources
  • Getting Started with Microsoft Silverlight
  • QuickStarts: Silverlight Development Using
        the .NET Framework
  • ich internet applications (RIAs) have taken center stage in software development, with Adobe, Microsoft, and Sun rolling out their AIR, Silverlight, and JavaFX technologies, respectively. Developers' unfamiliarity with these new products has led to misunderstandings about their purpose, how they fit into RIA development, and whether they target different niches or compete directly with each other. In a nutshell, Adobe AIR enables Flex and DHTML developers to build applications for the desktop; Silverlight allows developers to build rich media applications that run in the browser; and JavaFX Script lets developers build rich user interfaces for Java applications.

    This article provides a practical demonstration of each technology. Three complete examples walk through the process of building an application in Silverlight, AIR, and JavaFX, highlighting the strengths and weaknesses of each one. It concludes with a discussion of the similarities and differences between them so you can better understand how each fits within your development needs.

    The demo application is a simple stopwatch gadget that imitates a typical stopwatch device (see Figure 1). It has two buttons (one to start or stop the timer, another to reset it) and a mixed analog/digital presentation (the second and minute hands are combined with a digital display).

    Click to enlarge
    Figure 1. Stopwatch Gadget

    Each example provides instructions for the following tasks and then concludes with an assessment of the given technology:

    • Setting up the development environment
    • Building a user interface (UI) from original artwork (The artwork was created in the SVG format using the open source Inkscape vector graphics editor. See Figure 2.)
    • Implementing the animation
    • Adding interactivity
    • Deploying the final application

    Click to enlarge
    Figure 2. Original Artwork for Stopwatch UI

    Get the code for this article:

      Next Page: The Silverlight Stopwatch
    Page 1: IntroductionPage 4: JavaFX Stopwatch
    Page 2: The Silverlight StopwatchPage 5: Distinct Approaches, Common Goals
    Page 3: AIR Stopwatch 
    We have a winner in the RIA Run contest! Check out the Contest Winners Gallery and see which entries took the top prizes. You can play the games, too! Also, be sure to check out our interview with the grand prize winner to see how he crafted his winning entry. (Silverlight 2 Beta 2 required)