Skip to main content


The Jakarta WebSocket API provides a platform-independent websocket protocol API to build bidirectional communications over the web

The Jakarta WebSocket API is included in the Jakarta EE platform.

Table of Contents

Latest News

November 6, 2020 - Jakarta WebSocket 2.0 is released

July 3, 2019 - Jakarta WebSocket is the new name for Java EE WebSocket

The Java EE WebSocket technology contributed to the Eclipse Foundation has been renamed to “Jakarta WebSocket” to reflect its role in the Jakarta EE platform.

September 14, 2018 - Java EE WebSocket project moves to the Eclipse Foundation!

The Java EE WebSocket project is now hosted at the Eclipse Foundation as part of the EE4J project.

By contributing to this project, you agree to these additional terms of use, described in CONTRIBUTING.

Download Jakarta WebSocket Release

The latest release of Jakarta WebSocket is 2.0.0

The following table provides easy access to the latest release.

Item Description
jakarta.websocket-api-2.0.0.jar The Jakarta WebSocket API for Server and Client (API only, does not include an implementation)
jakarta.websocket-client-api-2.0.0.jar The Jakarta WebSocket API for Client (API only, does not include implementation)
Change log Changes since the previous release

You can find all of the Jakarta WebSocket artifacts (jar files, sources classified jars, and javadoc classified jars) on Maven Central

API Documentation

The Jakarta WebSocket API 2.0 documentation is available here

and the Jakarta WebSocket specification is available as HTML or PDF and includes a list of changes since the previous version.

The WebSocket 1.1.1 and earlier API was defined through the Java Community Process as JSR 356.

Help

You can post questions to the websocket-dev mailing list.

Or, post a question on Stack Overflow using the java-websocket tag.

Bugs

WebSocket bugs are tracked in the GitHub Jakarta WebSocket project issue tracker.

Development Releases

From time to time snapshot releases of the next version of Jakarta WebSocket under development are published to the Sonatype OSSRH snapshots repository. These snapshot releases have received only minimal testing, but may provide previews of bug fixes or new features under development.

Project Documentation

The Jakarta WebSocket source code may be found at GitHub. You can also find a bundle of the source code for the most recent Jakarta WebSocket release in the Releases area of this project.

If you’re interested in contributing to Jakarta WebSocket, see the Contributions page.

Jakarta WebSocket is licensed under the Eclipse Public License, version 2.

Back to the top