Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using the Servoy Smart Client, solutions developed in Servoy can be distributed to end users.

Table of Contents

Characteristics of a Smart Client

  • Installs automatically on initial launch
  • Automatically updates when a new version is available
  • Native application
  • Executes business logic locally
  • Can interact with the local file system
  • Can interact with local appliances connected to the client machine
  • Is connected to the Servoy Application Server to utilize services provided by the Application Server

Servoy Smart Clients are launched and distributed from the Servoy Application Server using Java Web Start technology.

On first launch, the Java Web Start process will install the Smart Client in a cache on the client machine. On subsequent starts, the Java Web Start mechanism will check to see if the application is already cached and will start from the cache if available.

...

  • the Application Server

...

While running, the Smart Client is connected to the Application Server to utilize the services provided by the Application Server, like database connectivity, datachange broadcasting, emailing and reporting for example.

Servoy Smart Clients are launched and distributed from the Servoy Application Server using Java Web Start technology.

Prerequisites

Network settings
In order to be able to start and run Smart Clients the Application Server needs to be properly reachable from the machine from on which the Smart client is to be started. Depending on the network route from the client machine to the server, different configuration might need to be applied. See Network Settings for more information.

...

The Servoy installation contains a webpage that can be used to check if a valid JRE is installed and if not, to automatically install it. This page can be accessed in the browser through the following url: <serverUrl>/autoinstallvm.html.

The JRE can also be manually downloaded and installed. See Java runtime for more information.

Installing Smart Clients

On first launch, the Java Web Start process will install the Smart Client in a cache on the client machine. On subsequent starts, the Java Web Start mechanism will check to see if the application is already cached and will start from the cache if available.

On start, it will validate the version in the cache with the version available on the Application Server and will automatically update when a new version is available.

The Smart Client will automatically install itself the first time it is launched.

The first-time launch of a Smart Client is performed by accessing the the relevant URL on the Application Server (see #Starting Smart Clients). On initial launch, all All required libraries will be automatically downloaded and locally cached by the Java Web Start process. The started solution will be cached by the Smart Client in the Servoy cache.

On subsequent launches, the Smart Client/solution will launch from the cache. On start it will check with the Application Server for new versions of libraries and or solutions and will automatically download only and install these when available.

Desktop integration
The Smart Client can automatically integrate with the desktop of the client machine. Whether or not this happens depends on both client-side settings in the Java environment as well as server-side settings on the Application Server. See #Java Web Startsettings for more information on the client-side Java settings and Smart Client Settings for more information on the Application Server settings.

...

A Smart Client has a very small footprint on the client machine.
-.servoy directory in the user directory: contains cached solutions, i18n-messages and client settings
-.For startup performance reasons, both the Smart Client libraries as well as the Servoy Solution binaries are cached.

Java Web Start cache: contains
Contains the cached libraries for the Smart Client, beans & plugins. Location depends on the #Java Settings.

Java Web Start

...

Servoy cache
Contains cached solutions, i18n-messages and client settings. Located in the .servoy directory in the user directory

Java Settings

A JRE installation can be configured through the

Trouble shooting

  • Memory issues
  • Connection issues

Enable wire logging
In case of connection issues between the Smart Client and the Application Server and all