Limit search to available items
Book Cover
E-book
Author Coward, Danny.

Title Java WebSocket programming / Danny Coward ; technical editor, Santiago Pericas-Geertsen
Published New York : McGraw-Hill Education, ©2014

Copies

Description 1 online resource
Contents Cover -- About the Author -- Title Page -- Copyright Page -- Contents at a Glance -- Contents -- Acknowledgments -- Introduction -- Chapter 1: Java WebSocket Fundamentals -- Creating Your First WebSocket Application -- Creating a WebSocket Endpoint -- Deploying the Endpoint -- Creating a WebSocket Client -- WebSocket Endpoints -- Programmatic Endpoints -- Fundamental Java WebSocket API Objects -- Inside the Echo Samples -- Deployment Phase -- Accepting the First Connection -- WebSocket Messaging -- Summary -- Chapter 2: Java WebSocket Lifecycle -- The WebSocket Protocol
Lifecycle of a Java WebSocket -- The WebSocket Lifecycle in the Java WebSocket API -- Annotated Endpoint Event Handling -- Lifecycle Sample -- Programmatic Endpoint Lifecycle -- Number of Instances and Threading -- Summary -- Chapter 3: Basic Messaging -- Messaging Overview -- Sending Messages -- Receiving WebSocket Messages -- DrawingBoard Application -- DrawingBoard Client -- Messaging and Threading -- WebSocket Endpoint Threading and Messaging -- Threading and Lifecycle of Encoders and Decoders -- Summary -- Chapter 4: Configurations and Sessions -- Session State and Logical Endpoint State
The Chat Sample -- Configuring Endpoints: ClientEndpointConfig and ServerEndpointConfig -- Supplying and Accessing Endpoint Configuration Information -- Examining the Configuration Options -- WebSocket Subprotocols and WebSocket Extensions -- The WebSocket Session -- The Lifecycle of the WebSocket Session -- Summary -- Chapter 5: Advanced Messaging -- Checking Up on Your Connection: Pings and Pongs -- Sending WebSocket Messages Asynchronously -- Sending a WebSocket Message by Future -- Sending a WebSocket Message with Handler -- When to Send By Future and When to Send with Handler?
Asynchronous Send Timeouts -- Message Batching -- Buffering, Partial Messages, and Data Framing -- Guaranteeing Message Delivery -- Sending Messages API Summary -- The MessageModes Application -- Overview of the MessageModes Application -- Looking at the Code for the MessageModes Application -- Things to Notice About the MessageModes Application -- Summary -- Chapter 6: WebSocket Path Mapping -- Terminology of URIs -- WebSocket Path Mapping -- Exact URI Mapping -- URI Template Paths -- APIs Relating to URI Template Matching -- Accessing Path Information at Runtime
Query Strings and Request Parameters -- Matching Precedence -- The Portfolio Application -- Query Strings vs. Path Parameters vs. WebSocket Messages -- Summary of WebSocket Path Mapping APIs -- Summary -- Chapter 7: Securing WebSocket Server Endpoints -- Security Concepts -- Java WebSocket API Security -- Authentication -- Authorization -- Private Communication -- Java WebSocket Security APIs -- Stock Account Application -- Summary -- Chapter 8: WebSockets in the Java EE Platform -- The Role of Java WebSockets in the Java EE Platform -- Sharing Web Application State
Notes Title from title screen
Includes index
Subject Real-time data processing.
Java (Computer program language)
Web site development.
Application program interfaces (Computer software)
Client/server computing.
APIs (interfaces)
Application program interfaces (Computer software)
Client/server computing.
Java (Computer program language)
Real-time data processing.
Web site development.
Form Electronic book
Author Pericas-Geertsen, Santiago.
ISBN 9780071827188
0071827188