{"json_modified": "2016-03-28T08:47:47.558787", "uuid": "478df5cc-4e49-4d28-b698-e1ca71a9378e", "title": "Writing a WebSocket server in Java", "url": "/en-US/docs/Web/API/WebSockets_API/Writing_a_WebSocket_server_in_Java", "tags": ["Tutorial", "Handshaking", "NeedsMarkupWork", "WebSockets", "HTML5"], "translations": [], "modified": "2016-03-03T14:17:04", "label": "Writing a WebSocket server in Java", "localization_tags": [], "locale": "en-US", "id": 165531, "last_edit": "2016-03-03T14:17:03", "summary": "This example shows you how to create a WebSocket API server using Oracle Java.

\n Although other server-side languages can be used to\u00a0create a WebSocker server, this example uses Oracle Java to simplify the example code.", "sections": [{"id": "Introduction", "title": "Introduction"}, {"id": "First_steps", "title": "First steps"}, {"id": "ServerSocket", "title": "ServerSocket"}, {"id": "Socket", "title": "Socket"}, {"id": "OutputStream", "title": "OutputStream"}, {"id": "InputStream", "title": "InputStream"}, {"id": "Handshaking", "title": "Handshaking"}, {"id": "Decoding_messages", "title": "Decoding messages"}, {"id": "Decoding_algorithm", "title": "Decoding algorithm"}, {"id": "Related", "title": "Related"}], "slug": "Web/API/WebSockets_API/Writing_a_WebSocket_server_in_Java", "review_tags": ["technical"]}