In this chapter, we are going to do a small project in Scala, using the popular Akka toolkit. Akka is a toolkit that aims to make the creation of scalable applications on a JVM easier. It is available for both Java and Scala, but since it was built by the creators of Scala, Akka is an excellent fit for Scala.
We will build a simple program that will display a random quote from a hardcoded list of quotes. Akka is based on the Actor model, which we will explore in this chapter. To write the project we will use Scala IDE, which is available both as a standalone software package and as a plugin that could be installed on Eclipse IDE. We will use the latter. To build the project, we will use the Scala build tool. These are the topics that we will cover in this chapter:
- Scala IDE for Eclipse
- Scala Build Tool (SBT)
- SBT Eclipse for the SBT plugin
- The scalac compiler...