Java WebSocket Programming

  • 3h 19m
  • Danny Coward
  • Oracle Press
  • 2014

Build dynamic enterprise Web applications that fully leverage state-of-the-art communication technologies. Written by the leading expert on Java WebSocket programming, this Oracle Press guide offers practical development strategies and detailed example applications. Java WebSocket Programming explains how to design client/server applications, incorporate full-duplex messaging, establish connections, create endpoints, handle path mapping, and secure data. You’ll also learn how to encrypt Web transmissions and enrich legacy applications with Java WebSocket.

  • Develop Web applications using the Java WebSocket API
  • Create and publish annotated and programmatic endpoints
  • Manage the lifecycle events of WebSocket endpoints
  • Maintain reliable connections across the endpoint lifecycle
  • Manage synchronous and asynchronous messaging
  • Define encoding and decoding strategies for complex messaging
  • Configure message timeouts, size limits, and exceptions
  • Map message paths and route incoming URIs to Web containers
  • Secure data, authenticate users, and encrypt connections

About the Author

Danny Coward is a Chief Architect and Java Evangelist at Oracle. He is the sole Spec Lead for the Java API for Web Sockets for Java EE and Java SE/JavaFX and sole author of the WebSocket technical documentation at Oracle. Coward’s work on WebSockets at Oracle make him the leading expert on Java WebSocket programming. He has a decade of experience as a Java developer, where he now seeks to direct and simplify complex technologies to fulfill business objectives. Coward has specialized experience in all aspects of Java software and has written three versions of the Java Servlet spec.

In this Book

  • Java WebSocket Fundamentals
  • Java WebSocket Lifecycle
  • Basic Messaging
  • Configurations and Sessions
  • Advanced Messaging
  • WebSocket Path Mapping
  • Securing WebSocket Server Endpoints
  • WebSockets in the Java EE Platform