Multithreaded Servers in Java

Jakob Jenkov
Last update: 2021-11-02

This trail is about implementing multithreaded servers in Java. Because of Java's built-in multithreading capabilities multithreaded servers are reasonably easy to implement. But not all server designs are equal. This trail will take a look at different server designs and discuss their pros and cons.

If you are new to Java multithreading there is an extensive tutorial here on
Java Concurrency / Multithreading.

This trail on multithreaded servers in Java is still work in progress.

Single-threaded and Same-threaded Server Designs - Tutorial Video

If you prefer video, I have a video explaining the most common single-threaded, multithreaded and same-threaded server designs here: Single-threaded and Same-threaded Designs

Single-threaded and Same-threaded Designs

Jakob Jenkov

Featured Videos

Java ForkJoinPool

P2P Networks Introduction


Java Persistence
Close TOC
All Tutorial Trails
All Trails
Table of contents (TOC) for this tutorial trail
Trail TOC
Table of contents (TOC) for this tutorial
Page TOC
Previous tutorial in this tutorial trail
Next tutorial in this tutorial trail