Legacy Product

Fusion 5.4

Deploy a Standalone App

There are two ways to deploy a standalone App Studio search interface:

Embedded Tomcat web server

Package your app as a standalone app for deployment to a production server. The standalone app embeds an Apache Tomcat servlet container.

Unix or MacOS:

./app-studio dist

Windows:

app-studio.bat dist

Standalone app directory

Unix or MacOS:

The standalone app for deployment is in the app-name/search-app-standalone directory.

search-app-standalone/
	README.md
	app/
	build/
	config/
	keystore.jks
	lib
	search-app-start.bat
	search-app-stop.bat
	search-app-stop.ps1
	search-app.sh

Windows:

The standalone app for deployment is in the app-name\search-app-standalone directory.

search-app-standalone\
	README.md
	app\
	build\
	config\
	keystore.jks
	lib
	search-app-start.bat
	search-app-stop.bat
	search-app-stop.ps1
	search-app.sh

The search-app-project.zip is a snapshot of your project at the time you compiled the application.

Executable Java JAR file

In this deployment type, your search interface runs within the Java runtime environment (JRE).

A downloaded project comes with an app-studio script that creates a JAR file.

How to create the JAR file
  1. In a shell window, switch to your project directory:

    cd /path/to/project-directory
  2. Create the JAR file:

    Unix and MacOS:

    ./app-studio package

    Windows:

    app-studio.bat package

The script creates the executable JAR file in the dist directory of your project:

search-app-latest.x.jar

Running an executable JAR file

java -jar search-app-latest.x.jar