Scalatra is a lightweight, high-performance micro web framework written in Scala, inspired by the Ruby framework Sinatra. Its goal is to provide a minimal but expressive foundation for building web applications or REST APIs in Scala without the verbosity or steep learning curve of larger frameworks. It supports asynchronous request handling, routing, filters, content negotiation, and easy integration with templating, JSON libraries, and other web middleware. Being unopinionated, it lets developers pick their persistence, dependency injection, or templating layers, rather than enforcing heavy conventions. Scalatra is well-suited for services, APIs, or small–to–medium web applications where you want fine control over latency and structure, and it benefits from Scala’s type system and ecosystem.

Features

  • Support for simple routing DSL: get, post, put, delete etc with parameter extraction in path or query string
  • Integration with templating engines (views), JSON support etc for building full web apps or APIs
  • Asynchronous request handling and non-blocking IO (for high throughput and responsive behavior)
  • Compatibility with JVM ecosystem: works with Java servlet containers or embedded servers, integrates with SBT, etc.
  • Modular and extendable with filters, middleware-style hooks, and flexible configuration
  • Small core overhead; minimal boilerplate for setting up routes / handlers

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

Follow Scalatra

Scalatra Web Site

Other Useful Business Software
The Most Powerful Software Platform for EHSQ and ESG Management Icon
The Most Powerful Software Platform for EHSQ and ESG Management

Addresses the needs of small businesses and large global organizations with thousands of users in multiple locations.

Choose from a complete set of software solutions across EHSQ that address all aspects of top performing Environmental, Health and Safety, and Quality management programs.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Scalatra!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Frameworks

Registered

2025-09-18