Scalatra

Scalatra is a simple, open-source, Scala-based web microframework heavily inspired by Ruby's Sinatra. It provides a domain-specific language (DSL) for defining web routes and handlers, enabling developers to quickly build REST APIs and web applications with minimal boilerplate on the Java…

Key facts

First appeared
2009
Category
web_framework
Problem solved
Scalatra was created to address the complexity and boilerplate associated with building web applications on the JVM using traditional Java frameworks or even earlier Scala frameworks. It offered a concise, expressive, and less opinionated alternative, allowing developers to quickly define HTTP endpoints and handle requests without being locked into a rigid architectural pattern, which was a significant pain point for Scala developers seeking a more 'Ruby on Rails'-like development experience.
Platforms
JVM (Java Virtual Machine), Windows, Linux, macOS

Related technologies

Notable users

  • Heroku (formerly, used by applications hosted on Heroku)
  • Various small to medium-sized companies building APIs and web services in Scala.