Skip to Content
Author's profile photo David Clavey

Adding native Object API to the Hybrid Web Container

Another excellent article by Jan Schober on how to add a replication based MBO to the Hybrid Web Container.


In this scenario, the native classes will be interfacing with SUP’s generated native Object API code. As these generated classes will vary from project to project, an automation tool for generating this interface is needed. On the other end, the functions providing the API to execute the native code from the JavaScript space need to be adjusted to the generated code as well.

An extension of a tool called MetaGenerator aka MetaGen (provided by SAP’s Mobility Design Center) is used to work with SUP’s 2.1.3 MBO models.

MetaGen creates a simplified metadata-structure (XML) out of SUP’s deployment_unit.xml. This metadata- XML is used as an input to an XSL-Transformation run using Saxon. This uses the metadata-XML to create ObjectiveC and JavaScript source code-files based on XSL-templates.


See the full article complete with PDF instruction manual at the link below:

Obviously the same approach can be used to add a replication based MBO to a PhoneGap application.  Excellent 🙂

Adding native MBO Object API to the Hybrid Web Container

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Syambabu Allu
      Syambabu Allu

      Hi David,

      Nice Blog.



      Author's profile photo David Clavey
      David Clavey
      Blog Post Author

      Hey all the credit must got to Jan, I always knew this was possible to do, but Jan broke it down into easy to understand parts. Read the PDF AddingObjectAPISupportToHWC_v1.0_20120706.pdf