title: Can akka actors pass messages back to the client a scenerio like this
body: <p>I have some pseudo code that I was hoping some with experience could tell me if akka would be used like this, and if not, how I could re-work my design to fit into akka's best practice.</p>
  
  <pre><code>class Article(val words: Word) {
  
    val tokens: List[Word]
  
  }
  
  class Word(..) {
  
  
    def parseWords() {
      val word = .....
      tokenActor ! word    // this is suppose to add the word to the tokens List
  
    }
  
  }
  </code></pre>
  
  <p>So the pattern is basically I will create a <code>Article</code> which will have a <code>word</code> object.  Then the  <code>word</code> object will start doing some parsing, and at times it needs to pass data back to the <code>Article</code> object to "share memory by communicating" like in Go's coroutines.</p>
  
  <p>I know Scala had an inbox type system but not going forward we are suppose to use Akka, but I find that Akka has poor documention when it comes to examples etc.</p>
  
  <p>Can someone tell me if the above design is possible?  And could I use this inside of a play application?</p>