Tag Archives: WebSocket

How to Install Jetty Application Server


via How to Install Jetty Application Server | Examples Java Code Geeks.

Jetty is an open-source Servlet container and Application Server which is known to be lightweight, portable, robust, flexible, extensible and providing support for various technologies like SPDY, WebSocket, OSGi, JMX, JNDI, and JAAS. Jetty is very convenient for development and also widely used in production environments.

In this post, we are going to detail how to install and configure a Jetty Server. We are first going to describe how to setup and run a standalone Jetty. Thereafter we will mention some configuration options and skim through the modular architecture of Jetty.

Jetty presents Standalone, Embedded and Jetty Maven Plugin modes of operation. In this post we are going to use standalone Jetty.

WebSockets – HTML5


WebSockets is an advanced technology that makes a bidirectional communication between the user’s browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply. Socket connection is a persistent connection between the client and the server and both parties […]

https://davisonjoseph.wordpress.com/2015/07/14/websockets-html5/

WebSocket JavaFX Sketch App. Tutorial (Tomcat 8 + Java 8)


Website + download source code @ http://www.zaneacademy.com 00:50 Is JavaFX included with the standard JDK 1.8 download bundle? 02:30 What is a WebSocket ServerEndpoint? 04:00 What is a WebSocket ClientEndpoint? 04:45 What is a WebSocket Encoder? 05:00 What is a WebSocket Decoder? 05:30 How to download and use JSON in a java application? 06:00 What […]

https://zaneacademy.wordpress.com/2014/12/19/websocket-javafx-sketch-app-tutorial-tomcat-8-java-8/

WebSockets – HTML5


WebSockets is an advanced technology that makes a bidirectional communication between the user’s browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply. Socket connection is a persistent connection between the client and the server and both parties […]

https://davisonjoseph.wordpress.com/2015/07/14/websockets-html5/

Realtime NodeJS App: A Stress Testing Story


via Realtime Node.js App: A Stress Testing Story – Bocoup.

This post is the first in a three-part series describing our investigations into scalability for a second screen application we built with PBS. You can read more about the project in the series introduction here.

Some Background

We built the Map Center second-screen application in Node.js with the help of a number of open-source libraries. The most pertinent to this discussion is Socket.io, an interface for realtime communication with a WebSocket-like API implemented across a broad range of browsers.

At a high level, the application supported a basic “broadcaster” style communication flow: a small number (one or two) broadcasters would push data to a large number (10,000) of clients. The clients would not reply to the broadcaster nor communicate with each other.

Push State from an Embedded Device


via Push State from an Embedded Device.

In this post, I want to show you how to read sensor data and work with it in the browser. To solve this problem, you need to “push” state from an embedded device into a “socket”. For the web, this usually means applying the WebSocket protocol.

Jetty WebSocket


via Jetty WebSocket Example | Examples Java Code Geeks.

This article is about WebSockets with Jetty. In this example we will give brief information on WebSockets and show how to implement WebSocket Servers and Clients using Jetty WebSocket APIs. In addition to these, an example HTML+JavaScript client interacting with the Server through WebSockets will be provided.