Using the correct Launcher

Documents for the development of and with JVx.

Using the correct Launcher

Postby Development@SIB » Fri Sep 17, 2010 1:50 pm

A JVx application is always developed technology indepedent. This makes it possible to provide the application on various different platforms.

The framework currently supports the following UI technologies:

  • Swing
  • Vaadin
  • Headless
To launch an application using a certain platform, all we have to do is use the appropriate launcher. The launcher definition depends on the used technology. If you use Swing, all you have to do is to set a command-line argument. For Vaadin and headless you have to use the deployment descriptor (web.xml).

The class com.sibvisions.rad.ui.swing.impl.SwingApplication is used as main class for Swing.

Example using an Eclipse Runtime Configuration

swing.png (60.83 KiB) Viewed 2327 times

Example using Vaadin

Code: Select all
User avatar
Posts: 311
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation