title: How to run play application as a single JAR file?
body: <p>I implemented a REST server using Play (so there is no "V" in MVC) but I a wondering How to run play application as a single JAR file? </p>
  
  <p>When I do <code>activator dist</code> is does create a jar file however when I run <code>java -jar myplayapp.jar</code> it says there is no main class. so I understand what is going on but not sure how to fix this. since I don't know what a main class will be for a play app and not sure what else I need to do to build a standalone jar?</p>