Google App Engine with Scala backend using Jersey and ScalaJs to produce JavaScript with common code. Maven project divided into three modules.
Maven module with simple Google app with dependency to Scala with Jersey (2). Configures Jersey in web.xml. Contains a simple HTML file with including JavaScript from ScalaJS (3).
Maven module with Scala implementing Jersey and using common logic from ScalaJs (3).
Maven module with ScalaJs and also SBT to build JavaScript. Also contains common logic with Scala with Jersey (2).
In root folder run 'mvn install'
- In root folder run 'mvn install'
- In 'js' folder run 'sbt fastOptJS'
- Run in 'gae' folder 'mvn appengine:devserver'
- Import as "Existing Maven Projects ..."
- Set 2.10 as Scala version for projects "js" and "scala"