playframeworkakkaplay2-mini

How to use Play-mini within Akka microkernel?


I've read the blog post at letitcrash.com about Play-mini and Akka (this one) and just can't get my head around on how to use Play-mini inside Akka microkernel. Since there is no use of Global object, I need to turn on play-mini manually, right? The question is, how to do it?


Solution

  • In order to start Play-mini, add the following to the boot class:

    play.core.server.NettyServer.main(Array())
    

    Kudos to Patrik Nordwall, who answered my question in Akka mailing list (here)