Most WebSocket clients are implemented as web pages taking advantage of the JavaScript WebSocket API. We will cover how to do this in the next section.
The Java API for WebSocket provides a client API that allows us to develop WebSocket clients as standalone Java applications. We will be covering this capability later in the chapter.