My offline data processing tool (written in C++) is being wrapped under webservices so that it can be executed remotely.
We did that already - meaning we have a webservice that can kick off the data processing.
However, for some reason, the very same webservice should not grab the data from the DLL it executed, but we are supposed to use another webservice for that purpose.
I haven`t worked with webservices before so the reason is not obvious to me (yet).
But how can another webservice get an access to an already running thread (DLL) and get some data from it ?
From what I understand, the other webservice has to do the following too : System.loadLibrary("Processing");
But in that case, it would just repeat what the first webservice did, which we are supposed to avoid.
So, from my limited understanding of concept of webservices, it must somehow be possible to connect to an already running thread on the CPU - which seems pretty unsafe to me.
How would I do that ?