[go: nahoru, domu]

US20080282222A1 - Xml push and remote execution of a wireless applications - Google Patents

Xml push and remote execution of a wireless applications Download PDF

Info

Publication number
US20080282222A1
US20080282222A1 US12/117,388 US11738808A US2008282222A1 US 20080282222 A1 US20080282222 A1 US 20080282222A1 US 11738808 A US11738808 A US 11738808A US 2008282222 A1 US2008282222 A1 US 2008282222A1
Authority
US
United States
Prior art keywords
function
application
message
exposed
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12/117,388
Inventor
Tim Neil
Dave Burgess
Viera Bibr
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Malikie Innovations Ltd
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US12/117,388 priority Critical patent/US20080282222A1/en
Assigned to RESEARCH IN MOTION LIMITED reassignment RESEARCH IN MOTION LIMITED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BIBR, VIERA, BURGESS, DAVE, NEIL, TIM
Publication of US20080282222A1 publication Critical patent/US20080282222A1/en
Assigned to BLACKBERRY LIMITED reassignment BLACKBERRY LIMITED CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: RESEARCH IN MOTION LIMITED
Assigned to MALIKIE INNOVATIONS LIMITED reassignment MALIKIE INNOVATIONS LIMITED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BLACKBERRY LIMITED
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability

Definitions

  • the present invention relates generally to wireless applications and a system and method for pushing data to the wireless application for remote execution thereof.
  • the present application claims priority from U.S. Provisional Application No. 60/916,613 filed May 8, 2007.
  • a smart phone may include an application which retrieves the weather for a range of cities, or a PDA which may include an application that allows a user to shop for groceries.
  • PDA personal digital assistant
  • Such software applications take advantage of connectivity to a communication network in order to provide timely and useful services to users of the communication devices.
  • component applications also referred to as wireless applications herein
  • methods for developing and implementing such applications have been introduced. Details regarding component application can be found in Patent Cooperation Treaty Application Numbers PCT/CA2003/001976 entitled, “System and Method for Building and Execution of Platform-Neutral Generic Services Client Applications” and published as WO2004059938; PCT/CA2003/001980 entitled, “System and Method of Building Wireless Component Applications” and published as WO2004059957; and PCT/CA2003/001981 entitled, “System and Method of Creating and Communicating with Component Based Wireless Applications” and published as WO2004059939, each of which is assigned to the owner of the present application.
  • WS-Eventing is a relatively “chatty” protocol which can consume significant bandwidth for a wireless application.
  • FIG. 1 is a block diagram of a communication network infrastructure
  • FIG. 2 is flow chart illustrating the operation of an XML push
  • FIG. 3 is a flow chart illustrating the generation of the required components for facilitating a message push to a wireless application.
  • FIG. 4 is a flow chart illustrating the generation of a server-side application capable of executing a message push to a wireless application.
  • a method for facilitating generation of a wireless application capable of receiving messages from a server-side application, the method comprising the steps of: parsing a structured data file defining the wireless application for identifying at least one exposed function; generating message definitions in accordance with the exposed functions for enabling communication between the server-side application and the wireless application; and generating at least one interoperability function, each interoperability function being associated with one of the exposed functions, the interoperability function configured to execute the associated exposed function upon receipt of a message defined by a corresponding message definition.
  • a computer readable medium comprising instructions configured to execute the above method is also provided.
  • the communication infrastructure 100 comprises a plurality of communication devices 102 , or simply devices 102 , a communication network 104 , an application gateway 106 and a plurality of data-sources 108 .
  • the devices 102 may include both wired and wireless computing devices such as a desktop computer, a notebook or other portable computer, a smart phone, a personal digital assistant (PDA), and the like.
  • the devices 102 are in communication with the application gateway 106 via the communication network 104 .
  • the communication network 104 may include several components such as a wireless network 110 , a relay 112 , a corporate server 114 and/or a mobile data server 116 for relaying data between the devices 102 and the application gateway 106 .
  • the application gateway 106 comprises a gateway server 118 , a provisioning server 120 , a discovery server 122 and a repository 124 .
  • the gateway server 118 is in communication with both the provisioning server 120 and the discovery server 122 .
  • the gateway server 110 is further in communication with a plurality of the data-sources 108 , such as Web services 108 a , database services 108 b , as well as other enterprise services 108 c , via a suitable link.
  • the gateway server 110 is connected with the Web services 108 a and database services 108 b via Simple Object Access Protocol (SOAP) and Java Database Connectivity (JDBC) respectively.
  • SOAP Simple Object Access Protocol
  • JDBC Java Database Connectivity
  • Other types of data-sources 108 and their corresponding links will be apparent to a person of ordinary skill in the art. Accordingly, it can be seen that the gateway server 118 acts as a message broker between the devices 102 and the data-sources 108 .
  • Each wireless device 102 is initially provisioned with a service book establishing various protocols and settings, including connectivity information for the corporate server 114 and/or the mobile data server 116 . These parameters may include a Uniform Resource Locator (URL) for the application gateway server 118 as well as its encryption key. Alternatively, if the wireless device 102 is not initially provisioned with the URL and encryption key, they may be pushed to the wireless device 102 via the mobile data server 116 . The mobile device 102 can then connect with the application gateway 106 via the URL of the application gateway server 118 .
  • URL Uniform Resource Locator
  • Applications are provided for execution on the wireless devices 102 .
  • the applications are stored in a repository 124 as a series of packages, or bundles.
  • the packages are typically created by an application developer using a wireless application design tool provided in an wireless application development environment 107 .
  • the wireless application design tool provides support for a drag-and-drop graphical approach for visual design of application components including screens, data elements, messages and application workflow logic, as described in the previously referenced documents.
  • the application packages are represented as structured data, such as Extensible Mark-up Language (XML), that can be generated automatically by the design tool through an automatic code generation process.
  • XML Extensible Mark-up Language
  • the design tool further enables the automatically-generated code to include, or be otherwise augmented by, an industry standard scripting language, such as JavaScript or another scripting/programming language known in the art.
  • the availability of application packages in the repository 124 is published in a registry via a discovery service provided by the discovery server 122 . It is recognized that there can be more than one repository 124 and associated registries used by the gateway server 118 .
  • the design tool is operated in an application development environment 107 executing on a computer.
  • the development methodology of the design tool can be based on a visual “drag and drop” system of building application models.
  • the design tool can be structured as a set of plug-ins to a generic integrated design environment (IDE) framework such as, for example, the EclipseTM framework.
  • IDE integrated design environment
  • the tool can be configured as a complete design framework without using a plug-in architecture.
  • a developer of server-side application has a priori knowledge of the devices to which information has to be pushed. For such cases, requiring the mobile device user to subscribe to the server-side application using protocols such as WS Eventing can waste a significant amount of bandwidth due to the overhead involved in the protocols. Accordingly, a method has been developed for pushing messages to the mobile device 102 without requiring subscription by the user.
  • the application gateway 106 is configured to process the HTTP POST request method.
  • the HTTP POST method is well known in the art.
  • FIG. 2 a flow chart illustrating the use of the HTTP POST method in the present embodiment to push data is represented by numeral 200 .
  • the server-side application sends the message to the mobile device 102 via the application gateway 106 using HTTP POST.
  • the application gateway 106 interprets the HTTP POST message to determine the destination device (or devices) as well as the content of the message.
  • the content of the message is mapped to its corresponding wireless application message parts as defined by a mapping file.
  • a mapping file maps parts of an incoming message in a received format to their corresponding parts in a transmission format for subsequent transmission to the wireless application executing on the mobile device.
  • a wireless message is sent to the mobile device 102 .
  • push integration is provided in an application development environment for developing server-side applications.
  • the push integration facilitates development of a server-side application capable of executing a script method running on a mobile device, as described below.
  • the wireless application development environment 107 for developing wireless applications is modified. Specifically, the wireless application development environment is modified to include the ability to define a script method in a wireless application as “exposed” via a code attribute.
  • code attributes are portions of code used by a developer of the wireless application to indicate that a script is to be exposed in such a manner that the it can be called by a server-side application.
  • the wireless application is generated as is known in the art with several new features, described as follows.
  • One or more messages are generated and added to the wireless application description to facilitate communication with the exposed script method.
  • An auxiliary mapping file is also created that maps parts of an incoming message in a received format to their corresponding parts in a transmission format for subsequent transmission to the wireless application executing on the mobile device.
  • the mapping information may be incorporated into a primary mapping file.
  • a script code stub is generated and incorporated into the wireless application.
  • the script code stub links the generated message with its corresponding exposed script method. That is, upon receipt of the incoming message the script code stub is executed, which in turn calls the corresponding exposed script method.
  • the code attributes used to define the exposed script methods can then be removed for publication.
  • a Wireless Reference menu option is integrated into a context menu of the development environment for facilitating addition of a push reference to a project. If the developer selects the Wireless Reference menu option, a code stub is generated comprising invocation of code to push the message to the wireless application executing on the device. The generated code stubs are collected in a file and added to the projects with necessary references. This feature allows enhanced data push experience with wireless applications.
  • the server-side application invokes a method which pushes a message to the application gateway using the HTTP POST method.
  • the received message is mapped to its corresponding wireless message parts.
  • the wireless message is sent to the mobile devices 102 specified in the message received from the server-side application.
  • a corresponding script code stub is invoked, which, in turn, invokes the target exposed script method.
  • the developer of a wireless application can identify script methods, or functions, to expose using code attributes. Accordingly, the concept of code attributes will be added to the script language parser. The code attributes will be able to be placed on a function to specify that the function is an exposed script method to which the server could push content.
  • Example of code attributes for the exposed function include [DeviceMethod], [DialogAlert], [RibbonAlert] and [DeviceMethodOptions].
  • the code attributes will include constructor parameters if the function includes parameters.
  • a constructor is a special method for initializing a new instance of a class. The term is used is reference to the initialization of the exposed function for the server-side application, as will be described in detail.
  • Each parameter specified in the function has an associated parameter specified in the [DeviceMethod] constructor.
  • the parameter names and orders specified in the function are the same in the [DeviceMethod] constructor.
  • Each parameter specified in the [DeviceMethod] constructor is a valid type in the wireless application. This type could also be an array.
  • Sample syntax for a [DeviceMethod] code attribute is as follows:
  • alert code attributes can also be assigned to a function if the function has a [DeviceMethod] code attribute.
  • the alert code attributes can be used by themselves or in combination with each.
  • a [DialogAlert] code attribute can have a string passed into its constructor. This string will be displayed in a dialog box when the message arrives at the mobile device 102 . If no string is specified, a dialog box will still appear when the message arrives at the device 102 , but it will not have a detailed message.
  • a [RibbonAlert] code attribute has a constructor that does not accept any parameters to it. It is simply an empty constructor. When the message arrives at the device it will cause a ribbon update for the wireless application.
  • Sample syntax for [DialogAlert] and [RibbonAlert] code attributes are as follows:
  • This code attribute can also be put on a function as long as the function also has a [DeviceMethod] code attribute.
  • the [DeviceMethodOptions] attribute is used to specify whether or not the message should be “end-to-end” secure and/or if the push mechanism should keep the last pushed message. This feature allows the push message to follow some of the same features as a WS_EVENTING push.
  • code attributes The syntax used for defining code attributes allows code attributes to be grouped together or declared separately for the function. In the present embodiment, the order in which the attributes are declared or grouped is not of consequence. Below are examples of combinations for defining code attributes:
  • FIG. 3 a flow chart illustrating the process of adding a [DeviceMethod] code attribute to wireless application is shown generally by numeral 300 . Since the [DeviceMethod] code attribute does not require a [RibbonAlert] or a [DialogAlert] code attribute, if neither code attribute is supplied, no alert will be assigned to the associated response method.
  • step 302 the developer adds the [DeviceMethod] code attribute to a function in the wireless application.
  • the [DeviceMethod] constructor parameters match the number and name of parameters in the function definition.
  • step 304 once the developer has completed the wireless application, the developer selects a “build” option for the wireless application.
  • the wireless application development environment determines if there are any errors in the wireless application. Errors may include, for example, improperly defined code attributes, as discussed above. If an error is detected, in step 308 the user is advised of the error and given the opportunity to return to the design tool to correct the error.
  • the wireless application is built by the wireless application development environment.
  • a message definition is created in the wireless application XML file.
  • the created message definition will have fields that match the fields specified in the corresponding code attribute constructor. If the code attribute is a [DeviceMethod] code attribute, the created message will need to call a function on return that will, in turn, call the original function.
  • an interoperability (interop) function is created to execute the original function in the manner as it was declared.
  • An interop function is used in its generic sense as a function that provides the ability for different programs to exchange data via a common set of business procedures.
  • the interop-function is used to call the exposed function in response to a received message, thereby providing interoperability between the server-side application and the wireless application.
  • This interop function (or hop function) is generated by the wireless application development environment and placed into the wireless application code file in a similar fashion to a JavaScript wrapper on web references.
  • the generated interop function is assigned to the return script for the created message and is uniquely named within the project from other function names, class names, global names, built-in names, and keywords.
  • mapping file is created and included in the bundle.
  • the mapping file is separate from the primary mapping file for the wireless application.
  • the mapping may be incorporated into the primary mapping file.
  • step 312 it is determined whether or not a [RibbonAlert] code attribute was defined for the function. If a [RibbonAlert] code attribute is not defined, the build continues to step 316 . If a [RibbonAlert] code attribute is defined, at step 314 the created message will have its ribbon alert type enabled.
  • step 316 it is determined whether or not a [DialogAlert] code attribute was defined for the function. If a [DialogAlert] code attribute is not defined, the build continues to step 320 . If a [DialogAlert] code attribute is defined, at step 318 the created message will have its dialog alert type enabled. Additionally, if the developer specified text in the constructor of the [DialogAlert], the text will be stored in the created message for the dialog alert.
  • step 320 it is determined whether or not a [DeviceMethodOptions] code attribute was defined for the function. If a [DeviceMethodOptions] code attribute is not defined, the build continues to step 324 . If a [DeviceMethodOptions] code attribute is defined, at step 324 the created message will have its “keep last” and/or its “end-to-end security” attributes enabled.
  • Steps 310 to 324 are repeated until all functions with code attributes have been analysed.
  • step 326 the code attributes that the developer has added to the wireless application are removed as they are no longer necessary.
  • the wireless application is then packaged and can be deployed to a server or repository.
  • a message is added to the component application to define the expected wireless message for the device method.
  • a suffix in this example MDSV8PluginExtender, is added to the name of the function to keep it unique.
  • the above script name identifies the script stub generated as the interop function. As described, the interop function calls the exposed script with the proper parameters.
  • EchoMDSVS8PluginExtender_Exec( ) Echo( EchoMDSVS8PluginExtender.echoString, EchoMDSVS8PluginExtender.echoArray); ⁇
  • mapping file is created:
  • FIG. 4 a flow chart illustrating the process of adding a reference to a wireless application into the server-side application is shown generally by numeral 400 .
  • a context menu item “Add Wireless Reference . . . ” is added to the existing project context menu to allow the developer to add a wireless application as a reference.
  • step 402 the developer selects the “Add Wireless Reference . . . ” option from the context menu.
  • the developer is presented with an application wizard.
  • an application wizard is used in its generic context to refer to a user interface element where the user is led through a sequence of dialogs.
  • the application wizard is implemented as a plug-in to the server-side application development environment.
  • step 404 the developer can either select a project in the existing solution or browse to a project file.
  • step 406 once the developer has selected the project to add as a reference, the application wizard interrogates the project and presents the exposed functions to the developer. As described above, the developer will be able to call these functions from the server-side application.
  • step 410 the application wizard generates stub code that can then be used by the developer.
  • the implementation language of the code stubs generated will be based on the language of the project to which the developer requested to add the wireless reference. The following will described the generation of code stubs for C# and Visual Basic for ease of explanation only.
  • C# and Visual Basic are example of .NET Framework programming languages.
  • .NET is a software component that can be added to or is included with the Microsoft Windows operating system. It provides a large body of pre-coded solutions to common program requirements, and manages the execution of programs written specifically for the framework.
  • the name of the namespace is the combination of the existing project's default namespace plus the name that the developer gave the wireless reference on discovery. For example, if the project's default namespace is “WindowsApplication1”, then the generated namespace generated will WindowsApplication1.referencename. All classes generated will be in this namespace
  • a .NET class is generated in the default language that has the same properties as the discovered class. Proper get/set methods are added for the properties in the code generation.
  • Each class generated has the proper serializable code attribute [System.SerializableAttribute( )] assigned to it.
  • Class prototyping is also enforced on the classes discovered for generation. If a class inherits from another class, this code relationship will be defined in the proper language syntax.
  • the code generation creates a single class for the discovered project based on the name of the discovered project. For exemplary purposes only, it is assumed that the name of the discovered project is “Device”. This class will contain all of the functions exposed by the discovered project.
  • Table 1 summarizes the public properties exposed by the Device class. All values listed can be modified, but certain properties will be automatically configured.
  • bool AllowAutoRedirect Specifies if the HTTP request used to submit the push will allow redirects. Default - true.
  • string Url Specifies the (Uniform Resource Locator) URL of the push listener (application gateway).
  • System.Net.ICredentials ICredentials object that allows authentication to be passed to Credentials the push listener URL (optional).
  • string AppUri Uniform Resource Indicator (URI) of the wireless application Default value discovered from wireless reference. string Version Version of the wireless application. Default value discovered from wireless reference. string Locale Locale of the wireless application. Default value discovered from wireless reference. StringCollection A collection of recipients to push to. This list is empty by Recipients default.
  • the URI/PIN combination takes precedence. That is, for example, if the developer specifies a set of PINs, an application URI and a version, the push message would go through without error to the specified PINs and URI, however the version information would be ignored. Given the above set of rules, when a user initially generates a wireless reference, the generated code is automatically configured to send to all devices with the discovered application URI, version and locale. If a non-empty list of recipients is present during the push in the form of a PIN list, the PIN list, along with the application URI, will be used to provide a narrower group of devices.
  • a method For each response message found, that is those generated by a [DeviceMethod] code attribute, a method will be created in the Device class. Each field of the message will be created as a method parameter.
  • Each generated method creates a key value pair of name and object that will contain the parameter name and object provided to the function. This key value pair will be then sent to a private generic execution method that will take the list of parameters, and the name of the method to execute. This generic execution method transforms the parameters and name into XML that is suitable for the application gateway 106 to perform its transformation. The data is transmitted to the application gateway 106 via an HTTP POST call using the provided properties of the Device class.
  • PushRuntimeException is a class that will be packaged as part of the DLL given to the developer to use push functionality.
  • the newly created stubs are added as a file to the existing project.
  • This file's extension will be based on the project type. For example, C# it will be “.cs” and for Visual Basic it will be “.vb”.
  • the name of the file should be based on the name of the wireless reference name given by the developer. The file will then be added as a project item to the calling project.
  • the following code section illustrates how a code stub can be used to access a function on the mobile device.
  • DoPushCustomer is a message exposed on a wireless application either as a Response message to a web service or a function marked with a device method code attribute.
  • optional step 408 provides the developer with the ability to select exposed functions that are desired for use with the server-side application. Accordingly, code stub generation is only required for the selected exposed functions.
  • the developer of a server-side application is provided with the ability to remotely execute a function of a wireless application executing on a mobile device by pushing data thereto.
  • the server-side application development environment automates the generation of code stubs based on functions exposed by the wireless application as well.
  • the server-side application development environment also automates the encapsulation of the data so that it can be pushed to the application gateway without requiring that the developer have knowledge of the transport protocol.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method is provided for facilitating generation of a wireless application capable of receiving messages from a server-side application. The method comprising the following steps. A structured data file defining the wireless application is parsed for identifying at least one exposed function. Message definitions are generated in accordance with the exposed function for enabling communication between the server-side application and the wireless application. At least one interoperability functions is generated. Each interoperability function is associated with one of the exposed functions. The interoperability function is configured to execute the associated exposed function upon receipt of a message defined by a corresponding message definition.

Description

  • The present invention relates generally to wireless applications and a system and method for pushing data to the wireless application for remote execution thereof. The present application claims priority from U.S. Provisional Application No. 60/916,613 filed May 8, 2007.
  • BACKGROUND
  • There are continually increasing number of mobile communication devices in use today, including, for example, smart phones, personal digital assistants (PDAs) with wireless capabilities, personal computers, self-service kiosks and two-way pagers. Accordingly, software applications are being developed to execute on these devices and increase their utility. For example, a smart phone may include an application which retrieves the weather for a range of cities, or a PDA which may include an application that allows a user to shop for groceries. Such software applications take advantage of connectivity to a communication network in order to provide timely and useful services to users of the communication devices.
  • However, due to limited resources of many devices, as well as the complexity and expense required to deliver large amounts of data to the devices, developing and maintaining software applications tailored for a variety of devices remains a difficult and time-consuming task.
  • Further, with the proliferation of wireless communication devices, there is an increased demand to quickly and easily develop client applications that support access to one or more backend servers. Therefore, it is often the case that the application is developed independently of the required interface to the backend server.
  • Accordingly, component applications (also referred to as wireless applications herein) and methods for developing and implementing such applications have been introduced. Details regarding component application can be found in Patent Cooperation Treaty Application Numbers PCT/CA2003/001976 entitled, “System and Method for Building and Execution of Platform-Neutral Generic Services Client Applications” and published as WO2004059938; PCT/CA2003/001980 entitled, “System and Method of Building Wireless Component Applications” and published as WO2004059957; and PCT/CA2003/001981 entitled, “System and Method of Creating and Communicating with Component Based Wireless Applications” and published as WO2004059939, each of which is assigned to the owner of the present application.
  • In order for a user of a mobile device executing a wireless application to receive data in the form of notifications, the user subscribes to a data source using protocols such as WS-Eventing. Data can then be pushed to the mobile device. However, WS-Eventing is a relatively “chatty” protocol which can consume significant bandwidth for a wireless application.
  • Accordingly, an improved method for pushing data to a device is desired. Further, a simple method for designing server-side applications to exploit the improved method is also desired.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Embodiments will be described by way of example only with reference to the following drawings in which:
  • FIG. 1 is a block diagram of a communication network infrastructure;
  • FIG. 2 is flow chart illustrating the operation of an XML push;
  • FIG. 3 is a flow chart illustrating the generation of the required components for facilitating a message push to a wireless application; and
  • FIG. 4 is a flow chart illustrating the generation of a server-side application capable of executing a message push to a wireless application.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by any one of the patent document or patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
  • In accordance with one embodiment, there is provided a method for facilitating generation of a wireless application capable of receiving messages from a server-side application, the method comprising the steps of: parsing a structured data file defining the wireless application for identifying at least one exposed function; generating message definitions in accordance with the exposed functions for enabling communication between the server-side application and the wireless application; and generating at least one interoperability function, each interoperability function being associated with one of the exposed functions, the interoperability function configured to execute the associated exposed function upon receipt of a message defined by a corresponding message definition. A computer readable medium comprising instructions configured to execute the above method is also provided.
  • For convenience, like numerals in the description refer to like structures in the drawings. Referring to FIG. 1, a communication network infrastructure is illustrated generally by numeral 100. The communication infrastructure 100 comprises a plurality of communication devices 102, or simply devices 102, a communication network 104, an application gateway 106 and a plurality of data-sources 108.
  • The devices 102 may include both wired and wireless computing devices such as a desktop computer, a notebook or other portable computer, a smart phone, a personal digital assistant (PDA), and the like. The devices 102 are in communication with the application gateway 106 via the communication network 104. Accordingly, the communication network 104 may include several components such as a wireless network 110, a relay 112, a corporate server 114 and/or a mobile data server 116 for relaying data between the devices 102 and the application gateway 106.
  • The application gateway 106 comprises a gateway server 118, a provisioning server 120, a discovery server 122 and a repository 124. The gateway server 118 is in communication with both the provisioning server 120 and the discovery server 122. The gateway server 110 is further in communication with a plurality of the data-sources 108, such as Web services 108 a, database services 108 b, as well as other enterprise services 108 c, via a suitable link. For example, the gateway server 110 is connected with the Web services 108 a and database services 108 b via Simple Object Access Protocol (SOAP) and Java Database Connectivity (JDBC) respectively. Other types of data-sources 108 and their corresponding links will be apparent to a person of ordinary skill in the art. Accordingly, it can be seen that the gateway server 118 acts as a message broker between the devices 102 and the data-sources 108.
  • Each wireless device 102 is initially provisioned with a service book establishing various protocols and settings, including connectivity information for the corporate server 114 and/or the mobile data server 116. These parameters may include a Uniform Resource Locator (URL) for the application gateway server 118 as well as its encryption key. Alternatively, if the wireless device 102 is not initially provisioned with the URL and encryption key, they may be pushed to the wireless device 102 via the mobile data server 116. The mobile device 102 can then connect with the application gateway 106 via the URL of the application gateway server 118.
  • Applications are provided for execution on the wireless devices 102. The applications are stored in a repository 124 as a series of packages, or bundles. The packages are typically created by an application developer using a wireless application design tool provided in an wireless application development environment 107. The wireless application design tool provides support for a drag-and-drop graphical approach for visual design of application components including screens, data elements, messages and application workflow logic, as described in the previously referenced documents.
  • The application packages are represented as structured data, such as Extensible Mark-up Language (XML), that can be generated automatically by the design tool through an automatic code generation process. The design tool further enables the automatically-generated code to include, or be otherwise augmented by, an industry standard scripting language, such as JavaScript or another scripting/programming language known in the art.
  • The availability of application packages in the repository 124 is published in a registry via a discovery service provided by the discovery server 122. It is recognized that there can be more than one repository 124 and associated registries used by the gateway server 118.
  • Once again, the design tool is operated in an application development environment 107 executing on a computer. The development methodology of the design tool can be based on a visual “drag and drop” system of building application models.
  • The design tool can be structured as a set of plug-ins to a generic integrated design environment (IDE) framework such as, for example, the Eclipse™ framework. Alternatively, the tool can be configured as a complete design framework without using a plug-in architecture.
  • In many cases, a developer of server-side application has a priori knowledge of the devices to which information has to be pushed. For such cases, requiring the mobile device user to subscribe to the server-side application using protocols such as WS Eventing can waste a significant amount of bandwidth due to the overhead involved in the protocols. Accordingly, a method has been developed for pushing messages to the mobile device 102 without requiring subscription by the user.
  • In order to facilitate a message push to the mobile device, the application gateway 106 is configured to process the HTTP POST request method. The HTTP POST method is well known in the art. Referring to FIG. 2, a flow chart illustrating the use of the HTTP POST method in the present embodiment to push data is represented by numeral 200. In step 202, the server-side application sends the message to the mobile device 102 via the application gateway 106 using HTTP POST.
  • In step 204, the application gateway 106 interprets the HTTP POST message to determine the destination device (or devices) as well as the content of the message. In step 206, the content of the message is mapped to its corresponding wireless application message parts as defined by a mapping file. A mapping file maps parts of an incoming message in a received format to their corresponding parts in a transmission format for subsequent transmission to the wireless application executing on the mobile device. In step 206, a wireless message is sent to the mobile device 102.
  • Further, in accordance with the following description, push integration is provided in an application development environment for developing server-side applications. The push integration facilitates development of a server-side application capable of executing a script method running on a mobile device, as described below.
  • To facilitate the push integration, the wireless application development environment 107 for developing wireless applications is modified. Specifically, the wireless application development environment is modified to include the ability to define a script method in a wireless application as “exposed” via a code attribute. As will be described in greater detail, code attributes are portions of code used by a developer of the wireless application to indicate that a script is to be exposed in such a manner that the it can be called by a server-side application.
  • At compile time, the wireless application is generated as is known in the art with several new features, described as follows. One or more messages are generated and added to the wireless application description to facilitate communication with the exposed script method. An auxiliary mapping file is also created that maps parts of an incoming message in a received format to their corresponding parts in a transmission format for subsequent transmission to the wireless application executing on the mobile device. Alternatively, the mapping information may be incorporated into a primary mapping file. Lastly, a script code stub is generated and incorporated into the wireless application. Specifically, the script code stub links the generated message with its corresponding exposed script method. That is, upon receipt of the incoming message the script code stub is executed, which in turn calls the corresponding exposed script method. The code attributes used to define the exposed script methods can then be removed for publication.
  • Corresponding changes are made in the development environment for the server side application. A Wireless Reference menu option is integrated into a context menu of the development environment for facilitating addition of a push reference to a project. If the developer selects the Wireless Reference menu option, a code stub is generated comprising invocation of code to push the message to the wireless application executing on the device. The generated code stubs are collected in a file and added to the projects with necessary references. This feature allows enhanced data push experience with wireless applications.
  • Therefore, during execution, the server-side application invokes a method which pushes a message to the application gateway using the HTTP POST method. At the application gateway, the received message is mapped to its corresponding wireless message parts. The wireless message is sent to the mobile devices 102 specified in the message received from the server-side application. Upon receipt of the wireless message, a corresponding script code stub is invoked, which, in turn, invokes the target exposed script method.
  • More details regarding the method describe above are provided as follows.
  • Building Wireless Application
  • As described above, the developer of a wireless application can identify script methods, or functions, to expose using code attributes. Accordingly, the concept of code attributes will be added to the script language parser. The code attributes will be able to be placed on a function to specify that the function is an exposed script method to which the server could push content.
  • Example of code attributes for the exposed function include [DeviceMethod], [DialogAlert], [RibbonAlert] and [DeviceMethodOptions]. The code attributes will include constructor parameters if the function includes parameters. As is known in the art, a constructor is a special method for initializing a new instance of a class. The term is used is reference to the initialization of the exposed function for the server-side application, as will be described in detail.
  • [DeviceMethod]. Each parameter specified in the function has an associated parameter specified in the [DeviceMethod] constructor. The parameter names and orders specified in the function are the same in the [DeviceMethod] constructor. Each parameter specified in the [DeviceMethod] constructor is a valid type in the wireless application. This type could also be an array. Sample syntax for a [DeviceMethod] code attribute is as follows:
  • [DeviceMethod(id = integer, customer = Customer)]
    function DoMyMethod(id, customer)
    {
      .....
    }
    [DeviceMethod(id = integer, customers = Customer[ ])]
    function DoMyMethod(id, customers)
    {
      .....
    }
    [DeviceMethod( )]
    function DoMyMethod( )
    {
      .....
    }
    [DeviceMethod]
    function DoMyMethod( )
    {
      .....
    }
  • [DialogAlert] and [RibbonAlert]. These two alert code attributes can also be assigned to a function if the function has a [DeviceMethod] code attribute. The alert code attributes can be used by themselves or in combination with each.
  • A [DialogAlert] code attribute can have a string passed into its constructor. This string will be displayed in a dialog box when the message arrives at the mobile device 102. If no string is specified, a dialog box will still appear when the message arrives at the device 102, but it will not have a detailed message.
  • A [RibbonAlert] code attribute has a constructor that does not accept any parameters to it. It is simply an empty constructor. When the message arrives at the device it will cause a ribbon update for the wireless application. Sample syntax for [DialogAlert] and [RibbonAlert] code attributes are as follows:
  • [DeviceMethod(message = string)]
    [DialogAlert(“this is my dialog text”)]
    function HandleMessage(message)
    {
      .....
    }
    [DeviceMethod(message = string)]
    [DialogAlert]
    function HandleMessage(message)
    {
      .....
    }
    [DeviceMethod(message = string)]
    [RibbonAlert]
    function HandleMessage(message)
    {
      .....
    }
  • [DeviceMethodOptions]. This code attribute can also be put on a function as long as the function also has a [DeviceMethod] code attribute. In the present embodiment, the [DeviceMethodOptions] attribute is used to specify whether or not the message should be “end-to-end” secure and/or if the push mechanism should keep the last pushed message. This feature allows the push message to follow some of the same features as a WS_EVENTING push.
  • The [DeviceMethodOptions] code attribute contains at least one of the following constructor parameters: EndToEndSecure=true/false; and/or KeepLast=true/false. These Boolean properties default to be false unless otherwise specified. However the developer can explicitly specify that they are false. Sample syntax for the [DeviceMethodOptions] code attribute is as follows:
  • [DeviceMethod(message = string)]
    [DeviceMethodOptions (EndToEndSecure = true)]
    function HandleMessage(message)
    {
      .....
    }
    [DeviceMethod(message = string)]
    [DeviceMethodOptions (EndToEndSecure = true, KeepLast = false)]
    function HandleMessage(message)
    {
      .....
    }
    [DeviceMethod(message = string)]
    [DeviceMethodOptions (KeepLast = true)]
    function HandleMessage(message)
    {
      .....
    }
  • The syntax used for defining code attributes allows code attributes to be grouped together or declared separately for the function. In the present embodiment, the order in which the attributes are declared or grouped is not of consequence. Below are examples of combinations for defining code attributes:
  • [DeviceMethod]
    [RibbonAlert( )]
    [DialogAlert]
    [DeviceMethod, RibbonAlert]
    [DialogAlert, DeviceMethodOptions(KeepLast = true)]
    [DeviceMethod( )]
    [RibbonAlert, DialogAlert]
    [DeviceMethodOptions(KeepLast = true)]
  • Referring to FIG. 3, a flow chart illustrating the process of adding a [DeviceMethod] code attribute to wireless application is shown generally by numeral 300. Since the [DeviceMethod] code attribute does not require a [RibbonAlert] or a [DialogAlert] code attribute, if neither code attribute is supplied, no alert will be assigned to the associated response method.
  • In step 302 the developer adds the [DeviceMethod] code attribute to a function in the wireless application. The [DeviceMethod] constructor parameters match the number and name of parameters in the function definition. In step 304, once the developer has completed the wireless application, the developer selects a “build” option for the wireless application.
  • In step 306, the wireless application development environment determines if there are any errors in the wireless application. Errors may include, for example, improperly defined code attributes, as discussed above. If an error is detected, in step 308 the user is advised of the error and given the opportunity to return to the design tool to correct the error.
  • If no error is detected, the wireless application is built by the wireless application development environment. In step 310, if a function is determined to have any of the code attributes, a message definition is created in the wireless application XML file. The created message definition will have fields that match the fields specified in the corresponding code attribute constructor. If the code attribute is a [DeviceMethod] code attribute, the created message will need to call a function on return that will, in turn, call the original function.
  • Therefore, in step 311 an interoperability (interop) function is created to execute the original function in the manner as it was declared. An interop function is used in its generic sense as a function that provides the ability for different programs to exchange data via a common set of business procedures. In this embodiment, the interop-function is used to call the exposed function in response to a received message, thereby providing interoperability between the server-side application and the wireless application. This interop function (or hop function) is generated by the wireless application development environment and placed into the wireless application code file in a similar fashion to a JavaScript wrapper on web references.
  • The generated interop function is assigned to the return script for the created message and is uniquely named within the project from other function names, class names, global names, built-in names, and keywords.
  • An example of what an inter-op function may look like is as follows:
  • Original declaration:
    [DeviceMethod(message = string)]
    [DialogAlert(“this is my dialog text”)]
    function HandleMessage(message)
    {
      .....
    }
    Generated interop function:
    function GeneratedMessageName_HandleMessage( )
    {
      HandleMessage(GeneratedMessageName.message);
    }
  • Further, a mapping file is created and included in the bundle. In the present embodiment, the mapping file is separate from the primary mapping file for the wireless application. Alternatively, the mapping may be incorporated into the primary mapping file.
  • In step 312, it is determined whether or not a [RibbonAlert] code attribute was defined for the function. If a [RibbonAlert] code attribute is not defined, the build continues to step 316. If a [RibbonAlert] code attribute is defined, at step 314 the created message will have its ribbon alert type enabled.
  • In step 316, it is determined whether or not a [DialogAlert] code attribute was defined for the function. If a [DialogAlert] code attribute is not defined, the build continues to step 320. If a [DialogAlert] code attribute is defined, at step 318 the created message will have its dialog alert type enabled. Additionally, if the developer specified text in the constructor of the [DialogAlert], the text will be stored in the created message for the dialog alert.
  • In step 320, it is determined whether or not a [DeviceMethodOptions] code attribute was defined for the function. If a [DeviceMethodOptions] code attribute is not defined, the build continues to step 324. If a [DeviceMethodOptions] code attribute is defined, at step 324 the created message will have its “keep last” and/or its “end-to-end security” attributes enabled.
  • Steps 310 to 324 are repeated until all functions with code attributes have been analysed. In step 326, the code attributes that the developer has added to the wireless application are removed as they are no longer necessary. The wireless application is then packaged and can be deployed to a server or repository.
  • The following as an example of the change and/or updates required to the built wireless application bundle if a device method is added to the application. Consider the following device method:
  • [DeviceMethod ( echoString = string, echoArray = string[ ] )]
    function Echo( echoString, echoArray )
    {
      ...
    }
  • A message is added to the component application to define the expected wireless message for the device method. A suffix, in this example MDSV8PluginExtender, is added to the name of the function to keep it unique.
  • <message
    name=“EchoMDSVS8PluginExtender”
    secure=“false” script=“EchoMDSVS8PluginExtender_Exec”>
     <field name=“echoString” type=“string” />
     <field name=“echoArray” type=“string” array=”true”/>
     </message>
     <script name=“EchoMDSVS8PluginExtender_Exec” />
  • The above script name identifies the script stub generated as the interop function. As described, the interop function calls the exposed script with the proper parameters.
  • function EchoMDSVS8PluginExtender_Exec( )
    {
     Echo(
       EchoMDSVS8PluginExtender.echoString,
       EchoMDSVS8PluginExtender.echoArray);
    }
  • A mapping file is created:
  • <?xml version=“1.0” encoding=“UTF-8”?>
    <map:wiclet xmlns:map=http://com.rim.wica/mapping.xsd
     xmlns:tns=”http://tempuri.org/”
     map:compatibilityVersion=“1.0.1”>
      <map:component map:mapName=“Echo” map:mapType=“message”
      map:name=“Echo”>
       <map:field map:mapName=“echoString” map:mapType=“element”
        map:name=“echoString”/>
       <map:field map:mapName=“echoArray” map:mapType=“element”
        map:name=“echoArray”/>
      </map:component>
    </map:wiclet>
  • A line is added to the mappings index to identify the newly created mapping file: ROOT_**=rim.device.methods/rim.device.methods.map (where ** is a unique identifier)
  • Building Server Side Application
  • Referring to FIG. 4, a flow chart illustrating the process of adding a reference to a wireless application into the server-side application is shown generally by numeral 400. In the application development environment for the server-side application, a context menu item “Add Wireless Reference . . . ” is added to the existing project context menu to allow the developer to add a wireless application as a reference.
  • Accordingly, in step 402, the developer selects the “Add Wireless Reference . . . ” option from the context menu. In response to this selection the developer is presented with an application wizard. In this context, an application wizard is used in its generic context to refer to a user interface element where the user is led through a sequence of dialogs. The application wizard is implemented as a plug-in to the server-side application development environment. In step 404, the developer can either select a project in the existing solution or browse to a project file.
  • In step 406, once the developer has selected the project to add as a reference, the application wizard interrogates the project and presents the exposed functions to the developer. As described above, the developer will be able to call these functions from the server-side application.
  • In step 410 the application wizard generates stub code that can then be used by the developer. The implementation language of the code stubs generated will be based on the language of the project to which the developer requested to add the wireless reference. The following will described the generation of code stubs for C# and Visual Basic for ease of explanation only. C# and Visual Basic are example of .NET Framework programming languages. .NET is a software component that can be added to or is included with the Microsoft Windows operating system. It provides a large body of pre-coded solutions to common program requirements, and manages the execution of programs written specifically for the framework.
  • First a namespace is generated in which to hold the code stubs. In the present embodiment, the name of the namespace is the combination of the existing project's default namespace plus the name that the developer gave the wireless reference on discovery. For example, if the project's default namespace is “WindowsApplication1”, then the generated namespace generated will WindowsApplication1.referencename. All classes generated will be in this namespace
  • For each class that is discovered by the application wizard a .NET class is generated in the default language that has the same properties as the discovered class. Proper get/set methods are added for the properties in the code generation. Each class generated has the proper serializable code attribute [System.SerializableAttribute( )] assigned to it.
  • Each property for the discovered class will be serialized in the proper order by placing [System.Xml.Serialization.XmlElementAttribute(“df_string”, Order=0)] code attributes on them.
  • Class prototyping is also enforced on the classes discovered for generation. If a class inherits from another class, this code relationship will be defined in the proper language syntax.
  • After the classes have been defined, the code generation creates a single class for the discovered project based on the name of the discovered project. For exemplary purposes only, it is assumed that the name of the discovered project is “Device”. This class will contain all of the functions exposed by the discovered project.
  • Table 1 below summarizes the public properties exposed by the Device class. All values listed can be modified, but certain properties will be automatically configured.
  • bool AllowAutoRedirect Specifies if the HTTP request used to submit the push will
    allow redirects. Default - true.
    string Url Specifies the (Uniform Resource Locator) URL of the push
    listener (application gateway).
    System.Net.ICredentials ICredentials object that allows authentication to be passed to
    Credentials the push listener URL (optional).
    string AppUri Uniform Resource Indicator (URI) of the wireless application.
    Default value discovered from wireless reference.
    string Version Version of the wireless application. Default value discovered
    from wireless reference.
    string Locale Locale of the wireless application. Default value discovered
    from wireless reference.
    StringCollection A collection of recipients to push to. This list is empty by
    Recipients default.
  • It should be noted that in the present embodiment, in order to push the message to the gateway 106 and then to the mobile device 102, the following two combinations are valid for sending information: application URI, plus Personal Identification Number(s) (PINs); or application URI, Locale and Version.
  • If neither of these two combinations is met, an exception will be thrown advising the developer that the push information is incomplete. Also, in the present embodiment, the URI/PIN combination takes precedence. That is, for example, if the developer specifies a set of PINs, an application URI and a version, the push message would go through without error to the specified PINs and URI, however the version information would be ignored. Given the above set of rules, when a user initially generates a wireless reference, the generated code is automatically configured to send to all devices with the discovered application URI, version and locale. If a non-empty list of recipients is present during the push in the form of a PIN list, the PIN list, along with the application URI, will be used to provide a narrower group of devices.
  • Furthermore, when pushing to a specific URI and set of PINs, if one of the PINs in the set does not have the application provisioned on the device, an exception will be returned.
  • For each response message found, that is those generated by a [DeviceMethod] code attribute, a method will be created in the Device class. Each field of the message will be created as a method parameter.
  • Each generated method creates a key value pair of name and object that will contain the parameter name and object provided to the function. This key value pair will be then sent to a private generic execution method that will take the list of parameters, and the name of the method to execute. This generic execution method transforms the parameters and name into XML that is suitable for the application gateway 106 to perform its transformation. The data is transmitted to the application gateway 106 via an HTTP POST call using the provided properties of the Device class.
  • Upon invoking a push, there are two scenarios. If the push is successful, the call to invoke the push will return (void signature). If the push is unsuccessful a PushRuntimeException will be thrown which will contain the HTTP status code and description of the failure. The PushRuntimeException is a class that will be packaged as part of the DLL given to the developer to use push functionality.
  • When all code stubs have been successfully generated, the newly created stubs are added as a file to the existing project. This file's extension will be based on the project type. For example, C# it will be “.cs” and for Visual Basic it will be “.vb”. The name of the file should be based on the name of the wireless reference name given by the developer. The file will then be added as a project item to the calling project.
  • The following code section illustrates how a code stub can be used to access a function on the mobile device.
  • /* DoPushCustomer is a message exposed on a wireless application either
    as a Response message to a web service or a function marked with a
    device method code attribute. devicehost was the name given to the
    Wireless Reference */
    devicehost.Device dev = new WindowsApplication1.devicehost.Device( );
    dev.Url = “http://myaglocation/myagservice”;
    devicehost.Customer cust = new devicehost.Customer( );
    cust.FirstName = “Tim”;
    cust.LastName = “Neil”;
    dev.DoPushCustomer(cust);
  • Referring once again to FIG. 4, optional step 408 provides the developer with the ability to select exposed functions that are desired for use with the server-side application. Accordingly, code stub generation is only required for the selected exposed functions.
  • From the disclosure above, it will be appreciate that the developer of a server-side application is provided with the ability to remotely execute a function of a wireless application executing on a mobile device by pushing data thereto. The server-side application development environment automates the generation of code stubs based on functions exposed by the wireless application as well. The server-side application development environment also automates the encapsulation of the data so that it can be pushed to the application gateway without requiring that the developer have knowledge of the transport protocol.
  • Although preferred embodiments of the invention have been described herein, it will be understood by those skilled in the art that variations may be made thereto without departing from the spirit of the invention or the scope of the appended claims.

Claims (15)

1. A method for facilitating generation of a wireless application capable of receiving messages from a server-side application, the method comprising the steps of:
parsing a structured data file defining the wireless application for identifying at least one exposed function;
generating message definitions in accordance with the exposed functions for enabling communication between the server-side application and the wireless application; and
generating at least one interoperability functions, each interoperability function being associated with one of the exposed function, the interoperability function configured to execute the associated exposed function upon receipt of a message defined by a corresponding message definition.
2. The method of claim 1 further comprising the step of packaging the message definitions and the interoperability functions along with the application for retrieval by a mobile device.
3. The method of claim 1 comprising the further step of generating a mapping file configured for use by a gateway server, the mapping file comprising information for mapping messages in a format delivered by the server-side application to messages in a format expected by the wireless application.
4. The method of claim 3, wherein the mapping file is included as part of a primary mapping file.
5. The method of claim 3 further comprising the step of packaging the message definitions, the interoperability functions and the mapping file along with the application for retrieval by a mobile device.
6. The method claim 3, wherein the exposed functions are identified using code attributes.
7. The method of claim 6, wherein the code attributes are deleted once they have been processed.
8. The method of claim 6, wherein the code attributes include a device method constructor configured to identify parameter names and orders specified in the corresponding exposed function.
9. The method of claim 6, wherein the code attributes include a dialog alert configured to identify that a dialog box is to be displayed upon execution of the corresponding exposed function.
10. The method of claim 9, wherein the dialog alert further includes text for presenting along with the dialog box.
11. The method of claim 6, wherein the code attributes include a ribbon alert configured to identify a ribbon update on the mobile device upon execution of the corresponding exposed function.
12. The method of claim 8, wherein the code attributes include device method options configured to identify user-defined options for the device method constructor.
13. The method of claim 12, wherein the user-defined options includes enabling end-to-end security for the transmission of the messages.
14. The method of claim 12, wherein the user-defined options includes storage of a last transmitted message to improve reliability.
15. A computer readable medium comprising instructions which, when executed by a computing device cause the computing device to generate a portion of a wireless application capable of receiving messages from a server-side application, the instructions configured for implementing the steps of:
parsing a structured data file defining the wireless application for identifying at least one exposed function;
generating message definitions in accordance with the exposed functions for enabling communication between the server-side application and the wireless application; and
generating at least one interoperability function, each interoperability function being associated with one of the exposed functions, the interoperability function configured to execute the associated exposed function upon receipt of a message defined by a corresponding message definition.
US12/117,388 2007-05-08 2008-05-08 Xml push and remote execution of a wireless applications Abandoned US20080282222A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/117,388 US20080282222A1 (en) 2007-05-08 2008-05-08 Xml push and remote execution of a wireless applications

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US91661307P 2007-05-08 2007-05-08
US12/117,388 US20080282222A1 (en) 2007-05-08 2008-05-08 Xml push and remote execution of a wireless applications

Publications (1)

Publication Number Publication Date
US20080282222A1 true US20080282222A1 (en) 2008-11-13

Family

ID=39943095

Family Applications (2)

Application Number Title Priority Date Filing Date
US12/117,388 Abandoned US20080282222A1 (en) 2007-05-08 2008-05-08 Xml push and remote execution of a wireless applications
US12/117,395 Active 2031-05-11 US8219970B2 (en) 2007-05-08 2008-05-08 XML push and remote execution of a wireless applications

Family Applications After (1)

Application Number Title Priority Date Filing Date
US12/117,395 Active 2031-05-11 US8219970B2 (en) 2007-05-08 2008-05-08 XML push and remote execution of a wireless applications

Country Status (4)

Country Link
US (2) US20080282222A1 (en)
EP (2) EP2145250A4 (en)
CA (2) CA2685892A1 (en)
WO (2) WO2008134895A1 (en)

Families Citing this family (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8516438B2 (en) * 2009-09-29 2013-08-20 Unisys Corporation Method and apparatus for user-defined managed objects
US9851953B2 (en) * 2015-06-29 2017-12-26 Oracle International Corporation Cloud based editor for generation of interpreted artifacts for mobile runtime
US11102313B2 (en) 2015-08-10 2021-08-24 Oracle International Corporation Transactional autosave with local and remote lifecycles
US10582001B2 (en) 2015-08-11 2020-03-03 Oracle International Corporation Asynchronous pre-caching of synchronously loaded resources
US9959100B2 (en) 2015-08-12 2018-05-01 Oracle International Corporation Efficient storage and transfer of iOS binary files
US10419514B2 (en) 2015-08-14 2019-09-17 Oracle International Corporation Discovery of federated logins
US10013668B2 (en) 2015-08-14 2018-07-03 Oracle International Corporation Secure storage of enterprise certificates for cloud services
US10452497B2 (en) 2015-08-14 2019-10-22 Oracle International Corporation Restoration of UI state in transactional systems
US10582012B2 (en) 2015-10-16 2020-03-03 Oracle International Corporation Adaptive data transfer optimization
US9838377B1 (en) 2016-05-11 2017-12-05 Oracle International Corporation Task segregation in a multi-tenant identity and data security management cloud service
US10454940B2 (en) 2016-05-11 2019-10-22 Oracle International Corporation Identity cloud service authorization model
US10425386B2 (en) 2016-05-11 2019-09-24 Oracle International Corporation Policy enforcement point for a multi-tenant identity and data security management cloud service
US10581820B2 (en) 2016-05-11 2020-03-03 Oracle International Corporation Key generation and rollover
US10341410B2 (en) 2016-05-11 2019-07-02 Oracle International Corporation Security tokens for a multi-tenant identity and data security management cloud service
US10878079B2 (en) 2016-05-11 2020-12-29 Oracle International Corporation Identity cloud service authorization model with dynamic roles and scopes
US10735394B2 (en) 2016-08-05 2020-08-04 Oracle International Corporation Caching framework for a multi-tenant identity and data security management cloud service
US10263947B2 (en) 2016-08-05 2019-04-16 Oracle International Corporation LDAP to SCIM proxy service
US10516672B2 (en) 2016-08-05 2019-12-24 Oracle International Corporation Service discovery for a multi-tenant identity and data security management cloud service
US10585682B2 (en) 2016-08-05 2020-03-10 Oracle International Corporation Tenant self-service troubleshooting for a multi-tenant identity and data security management cloud service
US10530578B2 (en) 2016-08-05 2020-01-07 Oracle International Corporation Key store service
US10505941B2 (en) 2016-08-05 2019-12-10 Oracle International Corporation Virtual directory system for LDAP to SCIM proxy service
US10255061B2 (en) 2016-08-05 2019-04-09 Oracle International Corporation Zero down time upgrade for a multi-tenant identity and data security management cloud service
US10484382B2 (en) 2016-08-31 2019-11-19 Oracle International Corporation Data management for a multi-tenant identity cloud service
US10511589B2 (en) 2016-09-14 2019-12-17 Oracle International Corporation Single logout functionality for a multi-tenant identity and data security management cloud service
US10846390B2 (en) 2016-09-14 2020-11-24 Oracle International Corporation Single sign-on functionality for a multi-tenant identity and data security management cloud service
US10594684B2 (en) 2016-09-14 2020-03-17 Oracle International Corporation Generating derived credentials for a multi-tenant identity cloud service
US10791087B2 (en) 2016-09-16 2020-09-29 Oracle International Corporation SCIM to LDAP mapping using subtype attributes
CN109565511B (en) 2016-09-16 2021-06-29 甲骨文国际公司 Tenant and service management for multi-tenant identity and data security management cloud services
US10341354B2 (en) 2016-09-16 2019-07-02 Oracle International Corporation Distributed high availability agent architecture
US10445395B2 (en) 2016-09-16 2019-10-15 Oracle International Corporation Cookie based state propagation for a multi-tenant identity cloud service
US10567364B2 (en) 2016-09-16 2020-02-18 Oracle International Corporation Preserving LDAP hierarchy in a SCIM directory using special marker groups
US10484243B2 (en) 2016-09-16 2019-11-19 Oracle International Corporation Application management for a multi-tenant identity cloud service
US10904074B2 (en) 2016-09-17 2021-01-26 Oracle International Corporation Composite event handler for a multi-tenant identity cloud service
US10261836B2 (en) 2017-03-21 2019-04-16 Oracle International Corporation Dynamic dispatching of workloads spanning heterogeneous services
US10454915B2 (en) 2017-05-18 2019-10-22 Oracle International Corporation User authentication using kerberos with identity cloud service
US10348858B2 (en) 2017-09-15 2019-07-09 Oracle International Corporation Dynamic message queues for a microservice based cloud service
US10831789B2 (en) 2017-09-27 2020-11-10 Oracle International Corporation Reference attribute query processing for a multi-tenant cloud service
US10834137B2 (en) 2017-09-28 2020-11-10 Oracle International Corporation Rest-based declarative policy management
US11271969B2 (en) 2017-09-28 2022-03-08 Oracle International Corporation Rest-based declarative policy management
US10705823B2 (en) 2017-09-29 2020-07-07 Oracle International Corporation Application templates and upgrade framework for a multi-tenant identity cloud service
US10715564B2 (en) 2018-01-29 2020-07-14 Oracle International Corporation Dynamic client registration for an identity cloud service
US10931656B2 (en) 2018-03-27 2021-02-23 Oracle International Corporation Cross-region trust for a multi-tenant identity cloud service
US10798165B2 (en) 2018-04-02 2020-10-06 Oracle International Corporation Tenant data comparison for a multi-tenant identity cloud service
US11165634B2 (en) 2018-04-02 2021-11-02 Oracle International Corporation Data replication conflict detection and resolution for a multi-tenant identity cloud service
US11258775B2 (en) 2018-04-04 2022-02-22 Oracle International Corporation Local write for a multi-tenant identity cloud service
US11012444B2 (en) 2018-06-25 2021-05-18 Oracle International Corporation Declarative third party identity provider integration for a multi-tenant identity cloud service
US10764273B2 (en) 2018-06-28 2020-09-01 Oracle International Corporation Session synchronization across multiple devices in an identity cloud service
US11693835B2 (en) 2018-10-17 2023-07-04 Oracle International Corporation Dynamic database schema allocation on tenant onboarding for a multi-tenant identity cloud service
US11321187B2 (en) 2018-10-19 2022-05-03 Oracle International Corporation Assured lazy rollback for a multi-tenant identity cloud service
US11651357B2 (en) 2019-02-01 2023-05-16 Oracle International Corporation Multifactor authentication without a user footprint
US11061929B2 (en) 2019-02-08 2021-07-13 Oracle International Corporation Replication of resource type and schema metadata for a multi-tenant identity cloud service
US11321343B2 (en) 2019-02-19 2022-05-03 Oracle International Corporation Tenant replication bootstrap for a multi-tenant identity cloud service
US11669321B2 (en) 2019-02-20 2023-06-06 Oracle International Corporation Automated database upgrade for a multi-tenant identity cloud service
US11792226B2 (en) 2019-02-25 2023-10-17 Oracle International Corporation Automatic api document generation from scim metadata
US11423111B2 (en) 2019-02-25 2022-08-23 Oracle International Corporation Client API for rest based endpoints for a multi-tenant identify cloud service
US11870770B2 (en) 2019-09-13 2024-01-09 Oracle International Corporation Multi-tenant identity cloud service with on-premise authentication integration
US11687378B2 (en) 2019-09-13 2023-06-27 Oracle International Corporation Multi-tenant identity cloud service with on-premise authentication integration and bridge high availability
US11611548B2 (en) 2019-11-22 2023-03-21 Oracle International Corporation Bulk multifactor authentication enrollment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6066181A (en) * 1997-12-08 2000-05-23 Analysis & Technology, Inc. Java native interface code generator
US20040199665A1 (en) * 2001-07-12 2004-10-07 Omar Salim H. System and method for pushing data from an information source to a mobile communication device including transcoding of the data
US20050160399A1 (en) * 2004-01-19 2005-07-21 Tata Consultancy Services Ltd. Apparatus and method for automatically migrating client server applications to other architectures and platforms
US7010796B1 (en) * 2001-09-28 2006-03-07 Emc Corporation Methods and apparatus providing remote operation of an application programming interface
US20060080683A1 (en) * 2004-10-12 2006-04-13 Majid Anwar Mechanism to circumvent restrictions of pre-written code components
US20060239276A1 (en) * 2005-04-20 2006-10-26 Bank Of America Corporation Wireless Gateway Server
US20070124334A1 (en) * 2005-11-30 2007-05-31 Microsoft Corporation Dynamic mechanism for providing metadata
US20070143662A1 (en) * 2005-12-15 2007-06-21 Microsoft Corporation Inserting user interface elements into native applications
US20070198968A1 (en) * 2006-02-02 2007-08-23 Michael Shenfield System and method and apparatus for using UML tools for defining web service bound component applications
US20070204276A1 (en) * 2006-02-27 2007-08-30 Bea Systems, Inc. Method and apparatus for buffering requests to web services using annotations
US20080028364A1 (en) * 2006-07-29 2008-01-31 Microsoft Corporation Model based testing language and framework
US20080127233A1 (en) * 2006-08-18 2008-05-29 Tim Neil Method and machine-readable medium for building distributed software
US20080250115A1 (en) * 2007-04-04 2008-10-09 Vaidy Iyer Enterprise Notification System

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409674B2 (en) 2002-12-26 2008-08-05 Research In Motion Limited System and method of creating and communicating with component based wireless applications
US7533365B1 (en) * 2004-02-03 2009-05-12 Borland Software Corporation Development system with methodology for run-time restoration of UML model from program code
CA2605118C (en) * 2005-04-18 2012-01-10 Research In Motion Limited Development tool and method for automating detection and construction of notification based component applications
US7747983B2 (en) * 2005-04-18 2010-06-29 Research In Motion Limited System and method for generating a web service definition and database schema from wireless application definition
US7586926B2 (en) * 2005-04-18 2009-09-08 Research In Motion Limited System and method for generic data mapping between wireless component applications and application data sources

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6066181A (en) * 1997-12-08 2000-05-23 Analysis & Technology, Inc. Java native interface code generator
US20040199665A1 (en) * 2001-07-12 2004-10-07 Omar Salim H. System and method for pushing data from an information source to a mobile communication device including transcoding of the data
US7010796B1 (en) * 2001-09-28 2006-03-07 Emc Corporation Methods and apparatus providing remote operation of an application programming interface
US20050160399A1 (en) * 2004-01-19 2005-07-21 Tata Consultancy Services Ltd. Apparatus and method for automatically migrating client server applications to other architectures and platforms
US20060080683A1 (en) * 2004-10-12 2006-04-13 Majid Anwar Mechanism to circumvent restrictions of pre-written code components
US20060239276A1 (en) * 2005-04-20 2006-10-26 Bank Of America Corporation Wireless Gateway Server
US20070124334A1 (en) * 2005-11-30 2007-05-31 Microsoft Corporation Dynamic mechanism for providing metadata
US20070143662A1 (en) * 2005-12-15 2007-06-21 Microsoft Corporation Inserting user interface elements into native applications
US20070198968A1 (en) * 2006-02-02 2007-08-23 Michael Shenfield System and method and apparatus for using UML tools for defining web service bound component applications
US20070204276A1 (en) * 2006-02-27 2007-08-30 Bea Systems, Inc. Method and apparatus for buffering requests to web services using annotations
US20080028364A1 (en) * 2006-07-29 2008-01-31 Microsoft Corporation Model based testing language and framework
US20080127233A1 (en) * 2006-08-18 2008-05-29 Tim Neil Method and machine-readable medium for building distributed software
US20080250115A1 (en) * 2007-04-04 2008-10-09 Vaidy Iyer Enterprise Notification System

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Microsoft Computer Dictionary, 5th edition (2002), pp. 430-431. *

Also Published As

Publication number Publication date
CA2685887A1 (en) 2008-11-13
WO2008134895A1 (en) 2008-11-13
WO2008134894A1 (en) 2008-11-13
US8219970B2 (en) 2012-07-10
EP2145251A1 (en) 2010-01-20
EP2145250A4 (en) 2010-08-11
EP2145251A4 (en) 2010-08-11
EP2145250A1 (en) 2010-01-20
US20080282223A1 (en) 2008-11-13
CA2685892A1 (en) 2008-11-13

Similar Documents

Publication Publication Date Title
US8219970B2 (en) XML push and remote execution of a wireless applications
US7836439B2 (en) System and method for extending a component-based application platform with custom services
US7676786B2 (en) System and method and apparatus for using UML tools for defining web service bound component applications
US20070201655A1 (en) System and method for installing custom services on a component-based application platform
US7894431B2 (en) System and method for communicating asynchronously with web services using message set definitions
US9229998B2 (en) Method and system for exchanging information between back-end and front-end systems
US8527577B2 (en) System and method for configuration-driven deployment
US7613789B2 (en) Development tool and method for automating detection and construction of notification-based component applications
US20060235882A1 (en) System and method for developing arbitrary and efficient mappings between complex message structures
US20060235928A1 (en) System and method for creating a mapping document for binding messages between an application and an associated backend server
EP2126728A1 (en) Automating construction of a data-source interface for component applications
US8200713B2 (en) Database exploration for building wireless component applications
CA2652867A1 (en) Database exploration for building component applications

Legal Events

Date Code Title Description
AS Assignment

Owner name: RESEARCH IN MOTION LIMITED, ONTARIO

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:NEIL, TIM;BURGESS, DAVE;BIBR, VIERA;REEL/FRAME:021278/0335

Effective date: 20080611

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION

AS Assignment

Owner name: BLACKBERRY LIMITED, ONTARIO

Free format text: CHANGE OF NAME;ASSIGNOR:RESEARCH IN MOTION LIMITED;REEL/FRAME:034161/0093

Effective date: 20130709

AS Assignment

Owner name: MALIKIE INNOVATIONS LIMITED, IRELAND

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BLACKBERRY LIMITED;REEL/FRAME:064104/0103

Effective date: 20230511