Mobile Business Object Development Task Flow

This task flow guides the MBO developer through the decision-making process and steps required to develop mobile business objects in Sybase Unwired WorkSpace, which provide the server-side code in mobile applications, including Hybrid Apps.

This task flow does not include all configurable options, but does guide the MBO developer through the commonly performed tasks required to develop a mobile data model.

  1. Determine the data needs of the mobile application.
    For design information, see Best Practices for Developing an MBO Data Model.
  2. Create and open the Mobile Application Project, which contains all project-related information.


    Developer Task Flow Project

    See Creating a Mobile Application Project in Sybase Unwired WorkSpace - Mobile Business Object Development.

  3. Create and connect to the enterprise information system (EIS) datasource using a connection profile from which you develop the MBOs.


    Developer Task Flow Connection Profile

    • For design information, see Best Practices for Loading Data From the EIS to the CDB.
    • See Creating a Data Source Connection Profile in Sybase Unwired WorkSpace - Mobile Business Object Development.
  4. Create the MBOs. The simplest method is to drag and drop the datasource (for example, a database table) onto the mobile application diagram and bind the MBO to the datasource.


    Developer Task Flow Drag and Drop

    For design information, see:
    • Define the attributes – see MBO Attributes
    • Define the operations – see Mobile Business Object Operation Properties, and related topics
    • Define other datasource and runtime specific properties during MBO creation, or later from the Properties view – see Mobile Business Object Properties
    See these topics in Sybase Unwired WorkSpace - Mobile Business Object Development:
    • Creating Mobile Business Objects
    • Binding Mobile Business Objects to Data Sources
    • Creating Attributes for a Mobile Business Object
    • Creating Operations for a Mobile Business Object
    • Mobile Business Object Operation Properties
  5. Define Relationships between MBOs. Most mobile applications include several to many individual MBOs.


    Developer Task Flow Relationship

    • For design information, see MBO Relationships
    • See Creating Relationships Between Mobile Business Objects in Sybase Unwired WorkSpace - Mobile Business Object Development
  6. Define cache refresh behavior.
    For design information, see:
    • Cache Groups and Data Change Notification.
    • Operation Cache Policies.
    • Load Arguments.
    See these topics in Sybase Unwired WorkSpace - Mobile Business Object Development:
    • Creating Cache Groups:


      cacheGroup

    • Setting an Operation Cache Policy:


      operationCachePolicy

    • Load Arguments:


      Developer Task Flow Add Load Argument

  7. Define synchronization behavior.
    For design information, see:
    • Synchronization Groups and MBO Synchronization Groups
    • Synchronization Parameter Definition Guidelines and MBO Synchronization Parameters
    • Understanding Synchronization Parameters
    See these topics in Sybase Unwired WorkSpace - Mobile Business Object Development:
    • Creating Synchronization Groups:


      syncGroup

    • Defining Synchronization Properties for Individual Mobile Business Objects:


      Developer Task Flow Sync Param

    • Combining Load Arguments and Synchronization Parameters:


      Developer Task Flow Load to Sync

  8. Consider additional MBO configuration options when defining the mobile data model.



    • Use object queries to filter and display data already downloaded to the device:
      • For design information, see Object Queries.
      • See Generating Object Queries from Primary Key Attributes in Sybase Unwired WorkSpace - Mobile Business Object Development.
    • Use personalization keys to personalize certain input field values within the mobile application.


      personalizationKey

      See Managing Personalization Keys in Sybase Unwired WorkSpace - Mobile Business Object Development.

    • Use logical roles to provide authorization to MBOs and MBO operations.


      role

      See Managing Roles and Permissions in Sybase Unwired WorkSpace - Mobile Business Object Development.

    • Set runtime datasource credentials, which is required for establishing EIS connections on the client's behalf, such as in single sign-on (SSO) configurations.


      Developer Task Flow Runtime Credentials

      See these topics in Sybase Unwired WorkSpace - Mobile Business Object Development:
      • Implementing SSO for SAP.
      • Propagating a Client's Credentials to the Back-end Data Source.
    • Use result set filters to add custom logic to manipulate rows and columns of data returned to the Unwired Server cache.


      Developer Taskk Flow Result Set Filter

      • For design information, see Result Set Filters.
      • See Adding a Result Set Filter in Sybase Unwired WorkSpace - Mobile Business Object Development.
    • Use result checkers to customize error checking for mobile business object (MBO) operations.


      Developer Task Flow Result Checker

      • For design information, see Result Checkers.
      • See Adding a Result Checker in Sybase Unwired WorkSpace - Mobile Business Object Development.
    • For more information about datatype usage in mobile applications, see Datatype Support.
    • For more information about, and to learn about planning for MBO and mobile application life cycles, see Development Life Cycle in Fundamentals.
  9. Generate the Object API code and deploy the MBOs.
    • Generate the object API code for the mobile platform on which you are developing the application.


      Developer Task Flow Generate Code

      See Generating Object API Code in Sybase Unwired WorkSpace - Mobile Business Object Development.

    • When you are ready to test a mobile application, deploy the MBOs to Unwired Server.


      Developer Task Flow Deploy Project

      See Packaging and Deploying Mobile Business Objects in Sybase Unwired WorkSpace - Mobile Business Object Development.

Related concepts
Best Practices for Developing an MBO Data Model
Best Practices for Loading Data From the EIS to the CDB
MBO Attributes
Operation Cache Policies
MBO Relationships
Cache Groups
Data Change Notification
Load Arguments
MBO Synchronization Groups
Synchronization
Object Queries
Result Set Filters
Result Checkers