scalanetwork-programmingscala-2.8actorremote-actors

Scala Remote Actors - Pitfalls


While writing Scala RemoteActor code, I noticed some pitfalls:

Are there any other pitfalls a programmer should be aware of?


Solution

  • Here's another; you need to put your RemoteActor.alive() and RemoteActor.register() calls inside your act method when you define your actor or the actor won't terminate when you call exit(); see How do I kill a RemoteActor?