Creating a new Adapter.................................................................................................................70
Adapter Implementation................................................................................................................71
Adapter JavaScript implementation..........................................................................................71
Adapter Types................................................................................................................................72
HTTP Adapter...........................................................................................................................72
HTTP Adapter Procedure implementations.........................................................................73
Configuring the HTTP Adapter for SSL..............................................................................74
Example HTTP Adapter.......................................................................................................74
JMS Adapter.............................................................................................................................78
JMS Adapter Procedure implementations............................................................................79
SQL Adapter.............................................................................................................................80
Database JDBC Drivers........................................................................................................81
SQL Adapter Procedure implementations............................................................................81
Cast Iron Adapter......................................................................................................................81
Calling an adapter from the Client.................................................................................................82
Error Handling for Adapters..........................................................................................................83
Invoking Java code from an Adapter.............................................................................................83
IBM Worklight Console.....................................................................................................................85
Application Center..............................................................................................................................86
Installing the Application Center mobile client.............................................................................87
Performance........................................................................................................................................92
Minification...................................................................................................................................92
File Concatenation.........................................................................................................................93
Security...............................................................................................................................................93
Secure on-device stored data.........................................................................................................94
Offline Authentication...................................................................................................................94
Preventing tampered apps..............................................................................................................94
Direct Update.................................................................................................................................94
Remote Disable..............................................................................................................................94
Worklight protected resources.......................................................................................................94
Cross site REST calls.....................................................................................................................95
Programatically authenticating with WAS....................................................................................95
Application Deployment....................................................................................................................95
Operations.........................................................................................................................................102
Programming References.................................................................................................................102
Client Side API Programming.....................................................................................................103
WL.Client................................................................................................................................103
The common "options" object............................................................................................103
WL.Client.addGlobalHeader(headerName, headerValue).................................................103
WL.Client.close()...............................................................................................................103
WL.Client.connect(options)...............................................................................................104
WL.Client.deleteUserPref(key, options)............................................................................104
WL.Client.getAppProperty(propertyName).......................................................................104
WL.Client.getEnvironment()..............................................................................................104
WL.Client.getLoginName(realm)......................................................................................105
WL.Client.getUserInfo(realm, key)...................................................................................105
WL.Client.getUserName(realm)........................................................................................105
WL.Client.getUserPref(key)..............................................................................................105
WL.Client.hasUserPref(key)..............................................................................................105
WL.Client.init(options)......................................................................................................106
Page 3
Comentários a estes Manuais