You can use the process steps in the IBM® Worklight® plug-in
to deploy mobile applications to IBM Worklight Server.
Before you begin
- If it is not already installed, install the IBM Worklight plug-in.
For instructions, see Installing plug-ins.
- Install the plug-in that corresponds to the application server
that is running your Worklight Server
for deploying the WAR file to the Worklight Server.
For example:
About this task
In the process editor, you can modify component processes
to include steps to deploy the following mobile application artifacts
to your Worklight Server:
- Native applications (Android .apk or iOS .ipa)
- Worklight Adapters
(.adapter)
- Worklight Hybrid Applications
(.wlapp)
- Worklight project
(.war)
The following sequence is a suggested order for deploying
the mobile application artifacts:
- Deploy the .war file to the application server
by using a process step from the corresponding plug-in for the type
of application server that is running the Worklight Server. For example, for WebSphere Application Server
use the Install Or Update Application step.
- The following artifacts can be deployed in parallel or in either
order:
- Deploy the Android application package (.apk)
or iOS application (.ipa) file to the Application
Center by using the Upload Application to Application Center step.
Example
The following simple example process deploys a mobile
application to the Worklight Server
Console and Application Center.
- The Download Artifacts step retrieves the binary
files.
- The Install or Update Application step deploys
the .war file to WebSphere Application Server (the application
server used in this example).
Note: The Install or Update
Application step in this example is provided by the Application
Deployment for WebSphere plug-in
(not the Worklight plug-in).
- In parallel, the .adapter and .wlapp files
are deployed to the Worklight Server
Console by the Deploy Adapter to Worklight Server step
and the Deploy Hybrid Application to Worklight Server step.
- The .apk (Android) or .ipa (iOS)
file is deployed to the Application Center by the Upload
Native Application to the Application Center step.
