CSS

light-4j – lightweight Java framework

light-4j is a lightweight Java framework for building fast, cloud-native microservices and APIs. Built on the Undertow HTTP server, it provides a modular alternative to heavier Java enterprise frameworks, with an emphasis on low latency, high throughput and a small memory footprint.

The framework separates business logic from reusable cross-cutting concerns. Its extensive collection of modules covers security, configuration, observability, service discovery, traffic management and request processing.

This is free and open source software.

Key Features

  • Builds lightweight microservices using Java SE and Undertow.
  • Provides a modular middleware and plugin architecture.
  • Supports OAuth 2.0 and JWT-based authentication and authorization.
  • Offers runtime request and response validation against OpenAPI specifications.
  • Includes metrics, health checks, auditing, logging and distributed tracing.
  • Provides service discovery and client-side load balancing.
  • Supports CORS, rate limiting, IP allowlists and API key authentication.
  • Includes request and response transformation modules.
  • Offers externalized configuration suitable for containers and cloud deployments.
  • Supports graceful shutdown and completion of in-flight requests.
  • Provides modules for ingress proxies, egress routing and sidecar deployments.
  • Integrates with the wider light-4j ecosystem for REST, GraphQL and event-driven services.

Website: github.com/networknt/light-4j
Support:
Developer: Steve Hu
License: Apache License 2.0

light-4j is written in Java. Learn Java 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
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
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.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted