Skip to content

metatron-the-chronicler/moviestore_akka

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Example for the Akka-Chapter of my Scala-Book

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published