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!

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top