Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Features:
- Compression SPI
- Json SPI
- Virtual threads enabled by default
- Multi-Server with any implementation of `jdk.httpserver` (Jetty, etc)
- Multi-Server with any implementation of `jdk.httpserver` (Jetty, Robaho, built-in, etc)

## Quick Start

Expand Down Expand Up @@ -167,11 +167,11 @@ public class Main {

The JDK provides an SPI to swap the underlying `HttpServer`, so you can easily use jex with alternate implementations by adding them as a dependency.

### Robaho
### Eclipse Jetty

[@robaho's httpserver](https://github.com/robaho/httpserver?tab=readme-ov-file#performance) is a zero-dependency implementation that seems to increase performance by 10x over the built-in implementation, and 5x over Jetty in certain benchmarks.
[Jetty](https://jetty.org/) is a classic embedded server with a long and distinguished history.

[![Maven Central](https://img.shields.io/maven-central/v/io.github.robaho/httpserver.svg?label=robaho.version)](https://mvnrepository.com/artifact/io.github.robaho/httpserver)
[![Maven Central](https://img.shields.io/maven-central/v/org.eclipse.jetty/jetty-http-spi.svg?label=jetty.version)](https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-http-spi)
```xml
<dependency>
<groupId>io.avaje</groupId>
Expand All @@ -180,17 +180,23 @@ The JDK provides an SPI to swap the underlying `HttpServer`, so you can easily u
</dependency>

<dependency>
<groupId>io.github.robaho</groupId>
<artifactId>httpserver</artifactId>
<version>${robaho.version}</version>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${jetty.version}</version>
</dependency>

<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http-spi</artifactId>
<version>${jetty.version}</version>
</dependency>
```

### Eclipse Jetty
### Robaho

[Jetty](https://jetty.org/) is a classic embedded server with a long and distinguished history.
[@robaho's httpserver](https://github.com/robaho/httpserver?tab=readme-ov-file#performance) is a zero-dependency implementation that seems to increase performance by 10x over the built-in implementation, and 5x over Jetty in certain benchmarks.

[![Maven Central](https://img.shields.io/maven-central/v/org.eclipse.jetty/jetty-http-spi.svg?label=jetty.version)](https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-http-spi)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.robaho/httpserver.svg?label=robaho.version)](https://mvnrepository.com/artifact/io.github.robaho/httpserver)
```xml
<dependency>
<groupId>io.avaje</groupId>
Expand All @@ -199,15 +205,9 @@ The JDK provides an SPI to swap the underlying `HttpServer`, so you can easily u
</dependency>

<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${jetty.version}</version>
</dependency>

<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http-spi</artifactId>
<version>${jetty.version}</version>
<groupId>io.github.robaho</groupId>
<artifactId>httpserver</artifactId>
<version>${robaho.version}</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion examples/example-jdk-jsonb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>0.10.4</version>
<version>0.10.5</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
<maven.compiler.proc>full</maven.compiler.proc>
<avaje.config.version>4.0</avaje.config.version>
<avaje.inject.version>11.2</avaje.inject.version>
<avaje.jsonb.version>3.0-RC6</avaje.jsonb.version>
<avaje.jsonb.version>3.0-RC7</avaje.jsonb.version>
<avaje.http.version>3.0-RC1</avaje.http.version>
<avaje.metrics.version>9.4</avaje.metrics.version>
<avaje.validator.version>2.6</avaje.validator.version>
<avaje.record.builder.version>1.2</avaje.record.builder.version>
<avaje.spi.version>2.9</avaje.spi.version>
<avaje.prisms.versionn>1.36</avaje.prisms.versionn>
<ebean.version>15.8.1</ebean.version>
<ebean.version>15.8.2</ebean.version>
</properties>

<modules>
Expand Down