StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Microframeworks
  4. Microframeworks
  5. Jersey vs Lagom Framework

Jersey vs Lagom Framework

OverviewComparisonAlternatives

Overview

Jersey
Jersey
Stacks217
Followers125
Votes6
Lagom Framework
Lagom Framework
Stacks36
Followers69
Votes0
GitHub Stars2.6K
Forks627

Jersey vs Lagom Framework: What are the differences?

# Introduction
This comparison discusses the key differences between Jersey and Lagom Framework.

1. **Architecture**: Jersey is a JAX-RS (Java API for RESTful web services) reference implementation that focuses on building RESTful web services using Java. On the other hand, Lagom Framework is a full-featured Microservices framework that provides not only RESTful APIs but also supports event sourcing and CQRS (Command Query Responsibility Segregation) patterns for building scalable and resilient systems.

2. **Scalability**: Jersey is primarily focused on building RESTful services in a stateless manner, which can limit its scalability when dealing with complex distributed systems. In contrast, Lagom Framework is built with scalability in mind, offering features like Akka actors and Kafka for building highly scalable and reactive systems.

3. **Service Discovery**: Jersey does not provide any built-in support for service discovery, leaving this responsibility to developers to handle using external tools or libraries. Lagom Framework, on the other hand, comes with integrated support for service discovery through its built-in service locator that allows services to automatically discover and communicate with each other.

4. **Persistence**: While Jersey does not provide any specific support for data persistence mechanisms, Lagom Framework offers persistence through its built-in support for event sourcing and CQRS. This allows developers to easily store and retrieve data in a scalable and fault-tolerant manner.

5. **Testing**: Jersey offers testing support through APIs like JUnit and Mockito, allowing developers to write unit tests for their RESTful services. Lagom Framework goes a step further by providing built-in support for integration testing of microservices, including features like embedded service testing and automatic test ports allocation.

6. **Polyglot Programming**: Jersey is primarily focused on Java development, limiting developers to build RESTful services using Java. In contrast, Lagom Framework allows developers to build microservices using multiple languages like Java and Scala, promoting polyglot programming and flexibility in technology choices.

In Summary, Jersey and Lagom Framework differ in architecture, scalability, service discovery, persistence, testing, and support for polyglot programming.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Detailed Comparison

Jersey
Jersey
Lagom Framework
Lagom Framework

It is open source, production quality, framework for developing RESTful Web Services in Java that provides support for JAX-RS APIs and serves as a JAX-RS (JSR 311 & JSR 339) Reference Implementation. It provides it’s own API that extend the JAX-RS toolkit with additional features and utilities to further simplify RESTful service and client development.

an open source framework for building reactive microservice systems in Java or Scala. Lagom builds on Akka and Play, proven technologies that are in production in some of the most demanding applications today. Its integrated development environment allows you to focus on solving business problems instead of wiring services together.

Track the JAX-RS API and provide regular releases of production quality Reference Implementations that ships with GlassFish; Provide APIs to extend Jersey & Build a community of users and developers; Make it easy to build RESTful Web services utilizing Java and the Java Virtual Machine.
better defined development responsibilities—to increase agility; more frequent releases with less risk—to improve time to market
Statistics
GitHub Stars
-
GitHub Stars
2.6K
GitHub Forks
-
GitHub Forks
627
Stacks
217
Stacks
36
Followers
125
Followers
69
Votes
6
Votes
0
Pros & Cons
Pros
  • 4
    Lightweight
  • 1
    Java standard
  • 1
    Fast Performance With Microservices
No community feedback yet
Integrations
Oracle
Oracle
Java
Java
Apache Maven
Apache Maven
Java EE
Java EE
Eclipse
Eclipse
Java
Java
Scala
Scala

What are some alternatives to Jersey, Lagom Framework?

ExpressJS

ExpressJS

Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.

Django REST framework

Django REST framework

It is a powerful and flexible toolkit that makes it easy to build Web APIs.

Sails.js

Sails.js

Sails is designed to mimic the MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps: data-driven APIs with scalable, service-oriented architecture.

Sinatra

Sinatra

Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.

Lumen

Lumen

Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.

Slim

Slim

Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself.

Fastify

Fastify

Fastify is a web framework highly focused on speed and low overhead. It is inspired from Hapi and Express and as far as we know, it is one of the fastest web frameworks in town. Use Fastify can increase your throughput up to 100%.

Falcon

Falcon

Falcon is a minimalist WSGI library for building speedy web APIs and app backends. We like to think of Falcon as the Dieter Rams of web frameworks.

hapi

hapi

hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.

TypeORM

TypeORM

It supports both Active Record and Data Mapper patterns, unlike all other JavaScript ORMs currently in existence, which means you can write high quality, loosely coupled, scalable, maintainable applications the most productive way.

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot