Hello,
I have an application which is using RDC/JRDC
When the user click on a button, the application send two requests for remote database using RDC/JRDC mecanishm
The application got the results using the asynchronous Job Done subroutine
It's working fine
but my question is : At the end of these two requests, I would like to dosomething
but how to start an event when all the jobs are completed ?
1. Create a global map that holds the results.
2. Clear the map when you send the two request.
3. When the result of each of the jobs is available then add them to the map (use the tag as the key) and check the map size. If it is 2 then you know that all data is available and you can do whatever you need.