Ivan
Ivan

Reputation: 64207

Can an actor send a message to an actor of another application running on the same machine at the same time?

I am interested in writing 2 actor-based Scala applications, one of them needing to send data to another one running on the same machine at the same time. Is there a way to send actor messages between different Scala applications?

Upvotes: 2

Views: 179

Answers (2)

Pablo Fernandez
Pablo Fernandez

Reputation: 105210

You should give Akka a try

Upvotes: 2

Daniel C. Sobral
Daniel C. Sobral

Reputation: 297155

Yes, there is. You should look at Akka, however, as it is much ahead of standard library actors for remote interaction. Besides, it is going to be merged into the standard library anyway.

With Akka, the example of how to do that is in the home page of the site.

Upvotes: 3

Related Questions