# TooTallNate/Java-WebSocket

A barebones WebSocket client and server implementation written in 100% Java.

Repository: https://github.com/TooTallNate/Java-WebSocket
Canonical: https://ross.abutalabs.com/products/java-websocket
Homepage: http://tootallnate.github.io/Java-WebSocket
Language: Java
License: MIT
License Family: permissive
Last push: 2026-01-13T21:24:14+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 62, release rhythm 8, longevity 100
- inputs: {"age_days": 6069, "days_push": 232, "days_rel": 626, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10805, forks 2577 (observed 2026-08-28T04:10:44.358093+00:00)

## What it is
A barebones WebSocket client and server library written in 100% Java, built on java.nio for a non-blocking, event-driven model. It implements the RFC 6455 and RFC 7692 WebSocket protocols and is distributed via Maven Central under the MIT license.

## Use cases
- implement a websocket server in java
- connect to a websocket endpoint from a java application
- add real-time bidirectional messaging to a jvm backend
- handle wss secure websocket connections in java
- build a lightweight event-driven socket server without a full framework

## When to choose
- you need a minimal, dependency-light WebSocket implementation on the JVM
- you want direct control over the WebSocket lifecycle via subclassing
- you need RFC 6455 and permessage-deflate (RFC 7692) support in Java

## When to avoid
- you need a full-featured framework with routing, sessions, and middleware
- you are building a reactive or Spring-based stack with its own WebSocket support
- you need client support outside the JVM

## Facets
- artifact type: library
- maturity: stable
- function: websocket, http-server, networking
- domain: web-development, backend, developer-tools
- platform: jvm, cross-platform
- tags: websocket-client, websocket-server, rfc6455, non-blocking-io, java-nio

## Member repositories
- TooTallNate/Java-WebSocket (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:44.358093+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:17:41.297361+00:00, confidence not recorded.
  - readme: https://github.com/TooTallNate/Java-WebSocket (fetched 2026-08-28T04:10:44.358093+00:00, sha 9695da230a01)
  - homepage: http://tootallnate.github.io/Java-WebSocket (fetched 2026-08-29T08:16:37.305457+00:00, sha 61661747b8f0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
