title: Playframework & Spark
body: <p>I want to get started with the Playframework and Apache Spark.</p>
  <p>I found the following activator to start with: <a href="https://www.typesafe.com/activator/template/spark-play" rel="nofollow noreferrer">https://www.typesafe.com/activator/template/spark-play</a></p>
  <h2>Question 1:</h2>
  <p>Is this a reasonably good way to integrate spark into play? Or should I start differently?
  As most activators here <a href="https://www.typesafe.com/activator/templates#filter:spark" rel="nofollow noreferrer">https://www.typesafe.com/activator/templates#filter:spark</a> seem to work directly with AKKA or AKKA &amp; spray.
  Is an explicit AKKA integration needed at all as Play from 2.4 on is based on AKKA-HTTP?</p>
  <h2>Question 2:</h2>
  <p><a href="https://i.stack.imgur.com/aUElA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aUElA.jpg" alt="enter image description here" /></a></p>
  <p>The dependencies are managed in a non-standard way e.g. not using the standard build.sbt. layout. Is this &quot;recommended&quot; for spark integration? What are the benefits of it?</p>
  <p>The Scala-dependency file is accompanied with</p>
  <pre><code>import play.sbt.PlayImport._
  import play.sbt.routes.RoutesKeys._
  
  
  name         := &quot;&quot;&quot;sparkTest&quot;&quot;&quot;
  organization := &quot;ch.alexmass&quot;
  version      := &quot;0.0.1&quot;
  scalaVersion := Version.scala
  
  
  
  lazy val root = (project in file(&quot;.&quot;)).enablePlugins(PlayScala)
  
  scalaSource in Compile &lt;&lt;= baseDirectory / &quot;src/scala&quot;
  
  libraryDependencies ++= Dependencies.sparkAkkaHadoop
  
  dependencyOverrides ++= Set(
    &quot;com.fasterxml.jackson.core&quot; % &quot;jackson-databind&quot; % &quot;2.4.4&quot;
  )
  
  releaseSettings
  
  scalariformSettings
  
  ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
  
  //routesGenerator := InjectedRoutesGenerator
  
  
  fork in run := true
  </code></pre>
  <p>Thank you.</p>