image
CHAPTER
1
Java WebSocket Fundamentals
This chapter introduces the Java WebSocket API and gives a high-level tour of its functions. The chapter will dive right into the sample application, an application whose server side simply echoes any messages sent to it by its client. We will use it to illustrate the major features of the Java WebSocket API. In so doing, this chapter will establish a foundation for the major features covered in the rest of the book. If you need a refresher on the main concepts of the WebSocket protocol, please take a look at the Introduction before reading on.
Creating Your First WebSocket Application
Since the core of the ...

Get Java WebSocket Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.