Use WLST Commands to Deploy and Undeploy an Application

You can use WLST commands to deploy and undeploy an application to an Oracle Java Cloud Service instance. All WLST commands are supported.

For example:

deploy('myapp','/u01/apps/myapp.war',upload='true')

You can use a secure shell (SSH) to connect to the virtual machine (VM) that hosts the Administration Server and run WLST commands locally. See Run WLST Commands on a Node. You can use either WLST online or offline commands.

Alternatively, you can connect to the Administration Server using another WLST installation and run WLST commands remotely, for example, from a command shell in your local environment. See Running WLST Commands from a Different Host. With this approach you can use WLST online commands only.

Oracle Fusion Middleware documentation is available to help you learn more about using WLST commands to deploy an application.