Example for the Akka-Chapter of my Scala-Book
Scala
Switch branches/tags
Nothing to show
Latest commit e306f50 Feb 25, 2012 Oliver Braun Merge pull request #2 from mdenison/master
Using ? instead of !!

README

Upgraded the book example to Scala 2.9.1, SBT 0.11.x and Akka 1.3. 

--------------------------------------------------------------------------

This is the MovieStore-Client/Server-Application, an example project used for the Scala-Book
http://www.hanser.de/buch.asp?isbn=978-3-446-42399-2&area=Computer

In order to use it, you need the Simple Build Tool
https://github.com/harrah/xsbt/wiki

Quickstart:

Open one terminal and type:

$ sbt
> console
scala> import org.obraun.moviestore._
scala> import akka.actor.Actor._
scala> val movieStoreService = actorOf[MovieStoreService].start

Open another and type:

$ sbt console
scala> import org.obraun.moviestore._
scala> val client = new MovieStoreClient(1)
scala> import client._
scala> login
scala> show
scala> rent(1)
scala> show