Question

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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top