I just curious, why we need worklight adapter to communicate with the database? Why not can't using direct ajax? Last time I'm using direct ajax it's not working at all. After I switch to worklight adapter it's running like charm? No problem at all. Why?
相关问题
- IBM Worklight 6.0 - Worklight Console does not sho
- Output delayed from Cordova Plugin
- Android Application Build with MobileFirst 7.1 is
- Custom ListView in Worklight using Dojo
- How to display a custom keyboard
相关文章
- Unknown realm [myRealm]. null returned for key: is
- How To Calling a Stored Procedure in Worklight
- Worklight 6.0 WL development Server not starting
- How to open the phone dialer?
- Is there a tool to install an existing Cordova 3 p
- Worklight Online + Offline Authentication
- Cannot Call determinedVisibility() never saw a con
- Getting “Cannot install applications because the c
You did not provide any specific details about your scenario, like Where is that backend system located, if there is any security involved, what is the topology, etc... so why it's not working with AJAX is impossible to answer.
As for why use Worklight adapters, read:
http://javatechig.com/cross-platform/ibm-worklight/how-to-create-a-http-adapter-in-ibm-worlight
Adapters provide templated (adapter types) connectivity settings to various backend systems - HTTP, SOAP, SQL, JMS and so on