Pergunta

I want to create two Java applications that will be able to send message to each other wirelessly. The two applications does not need to be in different machines, since this is only a simulation so I hope to run it in the same machine. Is there a way to do that? Thank you!

Foi útil?

Solução

You can create a connection with socket, or with RMI.

If I remember right, the RMI is newer than socket..

However you can find there about socket: All About Socket

and here: About RMI

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