This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

--Saving Parameters/Settings at the Client

Documents for the development of and with JVx.

--Saving Parameters/Settings at the Client

Postby Development@SIB » Sun Oct 03, 2010 11:42 am

This article is outdated - please use our new system at

Occasionally, settings have to be saved directly at the client so that they can be accessed at a later point in time, or after a new launch of the application.

Usernames are a good example. After successful login the username is saved at the client and is then used to populate the input field at the next launch of the application.

To handle the parameters or settings, the following methods are provided by the launcher:

Code: Select all
public void setRegistryKey(String pKey, String pValue);
public String getRegistryKey(String pKey);

The saved values are dependent on the application in use and cannot be read by other applications.

Since the launcher is responsible for saving the data, the application does not need to consider technology dependencies.

We would usually have to differentiate between a launch of the application in a web browser, as Web Start (signed, not signed, html) or on the desktop, to decide how data is saved. The web browser administers client data as cookies, and a desktop application either uses configuration files or the registry, depending on the operating system.

The application and especially the developer, do not have to take these differences into consideration.
User avatar
Posts: 321
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation