In my college project I have a small Java API that extracts audio from video files, where the URL of the video is passed and an MP3 file is returned, so far so good.
I would like to keep a server performing the tasks of downloading the video and then extracting the audio and on the other side a client waiting for the link to download the MP3 file. This would occur as follows: the user informs the link, the server low on itself and extracts the audio, after that, and made the audio available to the user.
But how would I do this on the client? I would like to implement the client on Android, but how do I keep it waiting for the video download and extraction to then deliver the MP3 link for download? It's like a listener , but there is a communication between client and server. RMI, SOAP, WSDL? I would like a solution that does not impact on a possible implementation for iOS or WP.