Scalatra is a tiny, Sinatra-like web framework for Scala.
import org.scalatra._
class ScalatraExample extends ScalatraServlet {
get("/") {
<h1>Hello, world!</h1>
}
}
Please see The Scalatra Book for more.
The latest version of Scalatra is 2.2.1
, and is published to Maven Central.
libraryDependencies += "org.scalatra" %% "scalatra" % "2.2.1"
The develop branch is published as 2.2.2-SNAPSHOT
to OSSRH.
resolvers += "Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
libraryDependencies += "org.scalatra" %% "scalatra" % "2.2.2-SNAPSHOT"
- Mailing list: scalatra-user
- IRC: #scalatra on irc.freenode.org