Pergunta

I'm trying to implement a desktop application that could send http messages to an already open local web application so that it will be updated with this information.

Any suggestions?

The only idea I came up with is sending http requests to the relevant web server and implementing on the web server a servlet that will update the relevant web page according to userID.

Anyone has a more elegant solution?

Nenhuma solução correta

Outras dicas

As far as I understand you you want to implement servlet that performs HTTP connection to other, external server. If I am right the following discussion will help you:

How do I make HttpURLConnection use a proxy?

Take a look on the answer that explains how to use Proxy class introduced in java 1.5.

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