What is the ITSmobile AJAX?
First and in general:
ITSmobile is a web technology therefore the W3C knowledge can be used.
(please check https://en.wikipedia.org/wiki/Ajax_(programming))
What does this means:
Standard SAP ITSmobile communicates with http/s via a normal HTTP Post Event.
This is the standard and classical browser communication.
This classical HTTP communication allows only a synchronous data transfer and the
Browser takes care of the communication. (without the possibility to enhance it or change it)
AJAX ITSMobile communication allows to send multiple requests to the server. In addition it is possible to send the request
What is the difference between Standard ITSmobile and ITSmobile using AJAX?
To understand the two different communication behaviors following scenarios are described:
Scenario 1: classical HTTP/S communication – Standard SAP ITSmobile Communication:
User press a button on an ITSmobile webpage, browser sends the request to the server and will wait for a response from the server.
During the waiting time (synchronous) user can do noting with the webpage/application. The application is not able to react in case
Of issues or errors.
Scenario 2: AJAX HTTP/S communication – Enhanced SAP ITSmobile Communication:
User press a button on an ITSmobile webpage , browser sends the request to the server (in details the application = ITSmobile send the request)
and will wait for a response from the server. However the communication is asynchronous, means the application is not locked and user can do other things.
Following the benefits exists when AJAX communication is used:
BENEFIT: performance improvement, as the browser doesn’t created the full HTML DOM again and again (specially not the CSS and JS content)
Second: It is possible to control the communication – wireless/network issues can be managed.
Own error message can be displayed or request can be send again automatically, if wireless communication doesn’t exist.
BENEFIT: the usage of industrial browsers is not anymore mandatory
What are the benefits as summery – when AJAX with ITSmobile makes sense?
The major benefits are the performance improvement and the control of the communication.
- The performance improvement is bigger especially,
when in a project old devices are used with low memory and low hardware capabilities.
It makes sense to use ITSmobile runs AJAX when old hardware is used.
- An industrial browser doesn have to be used when AJAX is used because the communication can be controlled
For more information see attached PPT.