RealTime vs Batch Jobs in BODS
I am unable to get the differences between Real Time and Batch jobs in BODS.
As I understood, Real Time job can be run for long time and can't be scheduled and they will be executed very fast when compared to batch jobs.
It needs some request from XML or IDoc message.
Batch jobs can be scheduled and does extracts, transforms and loads. and can even run for the long time.
Do we use real time jobs only when the data is so big.?
Do we use real time jobs only when the jobs should execute for long time.?
Do we use real time jobs only when the we need some confirmation messages.?
At last Can't we create the batch job which does the same tasks as Real Time job as like reading the request from XML and sending the response as a message.?
Thanks in Advance,
the response is generated in DS and send via xml see the following screenshot.
this is a simple realtime service it asks for a matnr. and checks whether it's correct or not.
The response is a string which is set according to the result of a validation event on the input string in data services. But the response is not saved to any database.