Versions Compared

Key

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

Mit RapidClipse können Sie Ihr Projekt als klassische Java Desktop Applikation deployen. Das Ergebnis ist eine hybride Desktop-Applikation. Die Architektur ist mit hybriden Apps vergleichbar. Die Anwendung selbst ist eine Java Anwendung die auf dem Server läuft (Servlet). Die HTML-Oberfläche wird dynamisch vom Server erzeugt und auf dem Client mit Hilfe des jeweiligen System-Browsers angezeigt, der innerhalb eines eigenen Programmfensters im Vollbild-Modus läuft. Der Browser ist damit nicht erkennbar. Das Programmefenster basiert auf SWT und ist damit nativ. Alternativ können Sie Ihre Desktop-Applikation als Client-Server oder Fat-Client Applikation deployen.

...

  1. Klicken Sie bei Quick Launch > Build Desktop Apps.
    Image Removed
  2. Legen Sie im folgenden Deployment Assistenten die notwendigen Parameter fest.
  3. Klicken Sie auf Finish.
    Image Removed
Optionen:
  • Fat Client app with embedded server - Erzeugt eine Fat-Client Applikation.
  • Name - Dateiname der Anwendung, der als Bezeichnung für die generierte Installations-Datei verwendet wird.
  • URL - URL der Anwendung, die auf einem Server läuft. Bei einem Fat-Client ist dies der Localhost.
  • Title - Name der Anwendung, der als Titel im Programmfenster angezeigt wird.
  • Icons - Auswahl eines Programm-Icons, das u.a. auf dem Desktop angezeigt wird.
  • Splash screen image - Auswahl eines Startbildes, das angezeigt wird, während die Anwendung startet. Unterstützt werden die Formate JPG, GIF und PNG.
  • Initial heap size - Größe des Hauptspeicher, der der Anwendung beim Programmstart zur Verfügung steht.
  • Max heap size - Größe des Hauptspeichers, über den die Anwendung maximal verfügen kann.
  • Embedded databases - Bindet in eine Fat-Client Applikation die hier angegebenen Embedded-Datenbanken ein. Unterstützt werden SQlite und H2 Datenbanken.
  • Platforms - Erzeugt für die selektierten Desktop-Betriebssysteme entsprechende Installations-Dateien.

Client-Server Applikation deployen

  1. Deployen Sie die in Ihrem Projekt unter target generierte .war Datei in Ihren Applicationserver.
  2. Liefern Sie die Ihrem Projekt unter target > desktop-apps generierten Dateien, z.B. via Download-Link oder auf einem Datenträger, aus. 
    Image Removed

Fat-Client deployen

...

With RapidClipse, you can deploy your project as a common Java desktop application. The result is a hybrid desktop application. The architecture is comparable to hybrid apps. The application itself is a Java application that runs on the server (Servlet). The HTML user interface is dynamically generated by the server and is displayed on the client with the help of the respective system browser that runs full-screen inside its own program window. Thus, the browser is not detectable. The program window is based on SWT and as such is native. Alternatively, you can deploy your desktop application as a client-server or fat-client application.

  • Client-server architecture - The client-server architecture is identical to the architecture of a web application.

    Image Added
  • Fat-client architecture - In a fat client, all components of the application are executed on the client. The server application runs on a local application server (Localhost). Fat clients are single-user applications. Multi-user applications are only possible with a client-server architecture. By default, RapidClipse supports SQlite and H2 as embedded databases.

    Image Added


  1. Select Quick Launch > Build Web App (.war).
    Image Added
  2. Next, set the required parameters in the deployment wizard.
  3. Click on Finish.
    Image Added
Options:
  • Fat client app with embedded server - Creates a fat client application.
  • Name - File name of the application, used as name for the generated installation file.
  • URL - URL of the application that runs on a server. For a fat client, it is the local host.
  • Title - Name of the application that will appear as title of the program window.
  • Icons - Program icon selection displayed, on the desktop, among other places.
  • Splash screen image - Starting image selection that is displayed during application start-up. Supported formats:   JPG,GIF and PNG.
  • Initial heap size - Size of main memory available to the application when the program starts.
  • Max heap size - Size of main memory, which the application can entirely dispose of.
  • Embedded databases - Connects the embedded databases specified here in a fat client application. SQlite and H2 databases are supported.
  • Platforms - Generates appropriate installation files for the selected desktop operating systems.

Deploying client-server applications

  1. Deploy the .war file generated in your project under target in your application server.
  2. Deliver the files generated in your project in target > desktop apps, e.g. via download link or on a volume. 
  3. Image Added

Deploy fat client

  1. Deliver the files generated in your project in target > desktop apps, e.g. via download link or on a volume.