Development Tools

Ratpack – asynchronous web application toolkit

Ratpack is a toolkit for developing HTTP applications using a lightweight, asynchronous programming model. It uses Netty for network communication and provides a collection of APIs for routing requests, composing handlers and managing application execution. Rather than imposing a complete application architecture, Ratpack allows developers to select the components needed for a particular service.

Request processing is organised around handlers that operate on a request context. Handlers can be combined into chains, allowing routing, authentication, content generation and other operations to be separated into reusable components. Ratpack uses promises to coordinate asynchronous work, providing a way to process database queries, network operations and other tasks without blocking the event loop. The toolkit also includes testing facilities and integrations for dependency injection, session handling and template rendering. It can be used for REST APIs, backend services and web applications that require non-blocking request processing.

This is free and open source software.

Key Features

  • Non-blocking HTTP server built on the Netty networking engine.
  • Composable request handlers and handler chains.
  • Path-based routing and extraction of route parameters.
  • Asynchronous execution using Promise and Operation abstractions.
  • Execution management for coordinating asynchronous application tasks.
  • Request and response APIs for headers, cookies, bodies and HTTP status codes.
  • JSON request and response handling.
  • Static file serving and resource management.
  • Session management with configurable session stores.
  • Optional Google Guice dependency injection.
  • Groovy DSL for concise application configuration and routing.
  • Template rendering through supported view engines.
  • Integration with Spring application components.
  • Application lifecycle management and configuration support.
  • Embedded testing fixtures for HTTP handlers and application services.
  • Execution testing utilities for asynchronous code.

Website: github.com/ratpack/ratpack
Support:
Developer: Ratpack contributors
License: Apache License 2.0

Ratpack is written in Java and Groovy. Learn Java with our recommended free books and free tutorials. Learn Groovy with our recommended free books and free tutorials.


Related Software

Java Web Microframeworks
Spring BootCreate Spring-powered, production-grade applications and services
JavalinSimple web framework for Java and Kotlin
KtorAsynchronous framework for creating microservices, web applications and more
QuarkusKubernetes native Java stack tailored for OpenJDK HotSpot and GraalVM
DropwizardJava framework for developing RESTful web services
SparkSimple expressive web framework for Java
RatpackSimple, capable, toolkit for creating high performance web applications
ArmeriaBuild any type of microservice leveraging your favorite technologies
Light-4JHigh-performance framework designed for cloud-native services
JoobyModern, performant and easy to use web framework for Java and Kotlin
HelidonSet of Java libraries for writing microservices
PippoAims to be easy to use and hack
TakesCompact web framework built around immutable HTTP messages
tinystructModular application framework with a small, flexible core
JoddSet of micro-frameworks and developer-friendly tools and utilities
RapidoidHTTP server and modern Java web framework / application container

Read our verdict in the software roundup.

Groovy Web Frameworks
GrailsPopular web application framework for the JVM built on top of Spring Boot
MicronautSupport for Java, Kotlin and the Groovy language
RatpackSimple, capable, toolkit for creating high performance web applications
GaelykLightweight Groovy toolkit for Google App Engine Java
MoquiEnterprise application development platform
HotPolyglot reactive web framework for the JVM
GraceBuild enterprise-grade Spring Boot applications with Groovy
GlideCreate apps that run on Google App Engine
gServCreate and deploy REST based services using Groovy

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted