Avaje RealWorld Example

Avaje + JDK Httpserver Showcase

Get Started Today

This website was created using various libraries to adhere to the RealWorld spec and API

To use this api, call the /api endpoints

Technologies

jdk.httpserver

The JDK's humble built-in httpserver is the engine that serves requests. With virtual threads you can achieve decent performance

Avaje

Avaje is a collection of independent libraries that provides the jdk.httpserver api wrapper as well as the dependency injection, json and bean validation. It uses annotation processing to make the libraries lightweight and free of reflection.

Ebean ORM

Ebean provides the connection pooling and ORM functionality. Though I mainly used the rowmapping functionality to send my own SQL queries and map the result.

PostgreSQL

The classic database that needs no introduction