Pergunta

What should I use to make client wait some time and if after this time he still does not get answer, make request again. If he get answer in specified time continue with other request.

Foi útil?

Solução

You could do your rmi call on a separate thread and have the main thread wait for a period of time before killing the worker thread and resubmitting the rmi call in case the previous one failed.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top