The Main class

The AkkaQuickstart object in Hello World creates ActorSystem with a guardian. The guardian is the top level actor that bootstraps your application. The guardian is typically defined with Behaviors.setup that contains the initial bootstrap.

object AkkaQuickstart extends App {
  val greeterMain: ActorSystem[GreeterMain.Start] = ActorSystem(GreeterMain(), "AkkaQuickStart")

  greeterMain ! Start("Charles")
}