Using IBM worklight for server-side mobile application Development (IV)

Source: Internet
Author: User
Tags file system sca websphere application server

IBM Worklight Adapter Integration with SCA 1.1 services

Brief introduction

Considerations for use-case schemas

This article is based on several previous articles, using the same use cases developed in part 1th. The same programming artifacts are merged in the article. Be sure to read part 1th to familiarize yourself with the use case and the programming artifacts (or click More in this series).

In part 4th, you will learn how to get the Java application developed in part 1th, and use the Rational application Developer for WebSphere 8.5.1 Developer Workbench to create and test an SCA 1.1 service application. You will then learn how to merge this SCA 1.1 service application logic into a server-side mobile application that contains HTTP adapters. Finally, learn how to test the mobile application End-to-end.

Use Case Implementation method

The use-case implementation consists of 6 different activities, which can generally be grouped into the following steps:

Develop the SCA 1.1 service application in Rational application Developer.

Use the Rational application Developer to test the SCA 1.1 service application.

Package the SCA 1.1 Service application logic as a Java archive (. jar) for use by mobile applications.

Develop mobile applications using Worklight Studio.

Merges the provided SCA 1.1 service application logic into a mobile application as an SCA 1.1 service archive repository.

Test the mobile application in Worklight Studio by invoking the SCA 1.1 Service application logic developed in the previous steps and using Worklight Adapter. This constitutes an end-to-end test.

Develop an SCA application using Rational application Developer

The following steps list the process of developing an SCA 1.1 service application using the Rational application Developer for WebSphere, Version 8.5.1.

Start Rational application Developer and specify the workspace location on the file system:

C:\temp\RADWS\RADWSUsecasesSCA

If you have not already opened the Java Enterprise Edition perspective, open it (by selecting Window > Open Perspective > Other > Java EE (Default), and then click OK).

To create a new SCA1.1 service project:

Select File > New > Other > Service Component Architecture 1.1 > SCA 1.1 Project > Next to open New SCA project Wiz Ard

Enter the following information in the New SCA Project Wizard:

Project Name:radusecasesscaproject

Use default location Checkbox:check

Target runtime:websphere Application Server v8.5

Facet Configuration:websphere v8.5 SCA 1.1

Project Settings > Available Component Implementation Types > Composite:check

Project Settings > Available Component Implementation Types > Java:check

Click Finish (see Figure 1).

Figure 1. Start New SCA Project Wizard

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.