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.

package $package$;


public class AkkaQuickstart {
  public static void main(String[] args) {
    final ActorSystem<GreeterMain.SayHello> greeterMain = ActorSystem.create(GreeterMain.create(), "helloakka");

    greeterMain.tell(new GreeterMain.SayHello("Charles"));

    try {
      System.out.println(">>> Press ENTER to exit <<<");;
    } catch (IOException ignored) {
    } finally {