Tasks to complete after generating the Worklight: mobile service pattern

Tasks that you must complete after you have generated the pattern.

Message Broker Deployment

  1. Deploy the service to WebSphere Message Broker. The service must be added to a broker archive file.
    1. Click File > New > BAR file.
    2. Enter the name of your service or select one from the displayed list. The list is filtered to show only projects in the active working set.
    3. Enter a name for the BAR file that you are creating.
    4. Click Finish. A file with a .bar extension is created and is displayed in the Navigator view, under the Broker Archives folder. The Content editor for the BAR file opens.
    5. On the Prepare tab, select the generated service to add it to your BAR file.
    6. Click Build and Save to create your BAR file.
  2. Configure the broker archive file. Further configuration of the application in the broker archive file is not required before you deploy the message flows for your Worklight: mobile service pattern instance, but you might want to review some of the default options and configure changes for your environment. In the Manage page of the Broker Archive editor, you can change any of the configurable properties in the broker archive, for example, properties for security or creating additional instances. You must ensure that any values that you change do not change the behavior of the pattern instance.

  3. Deploy the BAR file to an execution group.

Worklight Deployment

  1. Deploy the generated Worklight adapter to the Worklight Server.
    1. Export the Worklight project to the file system from your workspace.
    2. Start Worklight Studio and import the Worklight project.
    3. Click on the adapter in the imported project and click Run As > Deploy Worklight Adapter.

Back to the Worklight: mobile service pattern specification