Kaazing Gateway: HTML 5 WebSock Server Released

Written by on October 31st, 2008 in Uncategorized.

Kaazing has released Kaazing Gateway, an open source HTML 5 WebSocket Server.

The HTML 5 WebSocket specification is a standard that attempts to simplify much of the complexity around achieving bi-directional communications between browsers and servers. The specification provides a simple JavaScript interface that enables developers to open a full-duplex socket connection and connect directly to any TCP-based back-end service (for example, JMS, JMX, IMAP, Jabber, and so on).

Kaazing Gateway makes it possible for developers to take advantage of WebSockets today by providing a JavaScript library that emulates the HTML 5 WebSocket, making it possible to build applications that leverage the WebSocket interface and that can be deployed to both modern and future browsers.

The ultra high-performance server behind Kaazing Gateway can support tens of thousands of concurrent connections on a single node. Multiple instances can be clustered with traditional HTTP load-balancers or DNS round robin, making it possible to support any number of persistent client connections. In addition to large numbers of connections, Kaazing Gateway can also handle high data throughput thanks to its high-performance, staged event driven architecture (SEDA).

The Atlantis release of Kaazing Gateway also comes prepackaged with JavaScript clients for popular message services such as Apache ActiveMQ and RabbittMQ as well as clients for XMPP services such as OpenFire, Jabberd, and other popular chat servers. This makes it easy for you to quickly build web-based chat applications or messaging applications such as stock matrixes, online trading platforms, or online games.

What is the WebSocket API?

JAVASCRIPT:

  1.  
  2. interface WebSocket {
  3.   readonly attribute DOMString URL;
  4.  
  5.   // ready state
  6.   const unsigned short CONNECTING = 0;
  7.   const unsigned short OPEN = 1;
  8.   const unsigned short CLOSED = 2;
  9.   readonly attribute int readyState;
  10.  
  11.   // networking
  12.   attribute EventListener onopen;
  13.  
  14.   attribute EventListener onmessage;
  15.   attribute EventListener onclosed;
  16.   void postMessage(in DOMString data);
  17.   void disconnect();
  18. };
  19.  

Source: Ajaxian » Front Page
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/437928712/kaazing-gateway-html-5-websock-server-released

Comments are closed.



Site Navigation