Skip to main content

Java framework for modern web, cloud, high-load, and microservices solutions

account_tree

Minimum dependencies

Lightweight minimalistic self-sufficient Java framework with no third-party dependencies

layers

Rich stack

Features a rich stack of technologies for building lightning-fast and asynchronous applications

photo_size_select_small

Overhead-free

Minimalistic, overhead-free design that provides outstanding performance

compare

Best alternative

Full-featured alternative to Spring, Micronaut, Apache Spark, Quarkus, and other solutions

A step ahead of other solutions

Squeezing the last bits of performance from your hardware

Minimum web application size

1.4 MB

ActiveJ

17 MB

Spring

Web application launch time

0.65 Sec

ActiveJ

14 Sec

Spring

Enjoy the development

Predefined launchers and classes for both typical and more specific use cases combined with ActiveJ Inject DI library enable extremely fast and convenient app development.


public final class HttpHelloWorldExample extends HttpServerLauncher {  @Provides  AsyncServlet servlet() {    return request -> HttpResponse.ok200().withPlainText("Hello World");  }
  public static void main(String[] args) throws Exception {    Launcher launcher = new HttpHelloWorldExample();    launcher.launch(args);  }}

Genuinely high load networking

Ultra-fast means for I/O processing along with a simple abstraction over low-level async sockets I/O. Create servers that process 45M+ RPS on a single CPU core in a few lines of code.


ChannelSupplier.ofSocket(socket)    .transformWith(ChannelDeserializer.create(INT_SERIALIZER))    .transformWith(StreamMapper.create(x -> x + " times 10 = " + x * 10))    .transformWith(ChannelSerializer.create(UTF8_SERIALIZER))    .streamTo(ChannelConsumer.ofSocket(socket));