Packaging and Deploying Web Applications

Using the Oracle JET tooling framework and third-party tools, you can package your Oracle JET web application and deploy it to any type of web or application server.

Packaging Web Applications

You can use Grunt to create a release folder containing your application and applicable Oracle JET code in minified format.

  1. From a terminal prompt in your application’s root directory, enter the following command: grunt build:release.

    The command will take some time to complete. When it’s successful, you’ll see the following message: Done, without errors.

    The command also creates a new release folder in your application, containing the Oracle JET library in minified format and changing the default RequireJS configuration to point to that minified format.

    The image is described in the surrounding text.
  2. To verify that the application still works as you expect, run grunt serve with the release option.

    The grunt serve:release command takes the same arguments that you used to serve your web application in development mode.

    grunt serve:release [--serverPort=server-port-number --livereloadPort=live-reload-port-number --disableLiveReload=true]
    

Deploying Web Applications

Oracle JET is a collection of HTML, JavaScript, and CSS files that you can deploy to any type of web or application server. There are no unique requirements for deploying Oracle JET applications

Deployment methods are quite varied and depend upon the type of server environment your application is designed to run in. However, you should be able to use the same method for deploying Oracle JET applications that you would for any other client interface in your specific environment.

For example, if you normally deploy applications as zip files, you can zip the release directory and use your normal deployment process.