gregw

Tuesday Mar 02, 2010

Websocket Chat

The websocket protocol has been touted as a great leap forward for bidirectional web applications like chat, promising a new era of simple comet applications. Unfortunately there is no such thing as a silver bullet and this blog will walk through a simple chat room to see where websocket does and does not help with comet applications. In a websocket world, there is even more need for frameworks like cometd.[Read More]

Thursday Feb 11, 2010

Webinar on reliable messaging with Jetty, Cometd and ActiveMQ

Jan Bartel (Intalio) and Daan Van Santeen (Progress FUSE) will be giving a series of live webinars on how Jetty, Cometd and ActiveMQ can be used to provide a reliable messaging platform to the browser.[Read More]

Sunday Jan 31, 2010

Websockets - IETF v WHATWG?

There is a jurisdictional issue brewing over the future of internet standards. The dispute is between the WHATWG and the IETF regarding the specification process for the websocket protocol.[Read More]

Tuesday Nov 24, 2009

Jetty WebSocket Server

Jetty-7.0.1 has been extended with a WebSocket server implementation based on the same scalable asynchronous IO infrastructure of Jetty and integrated into the Jetty Servlet container.

[Read More]

Tuesday Oct 20, 2009

How to improve Websocket

The W3C has developed the Websocket API proposal for HTML5, that enables web pages to perform two-way communication with a remote host. There is also a proposed IETF draft websocket protocol to transport the websocket messages.

I believe that there are significant deficiencies in the proposed websocket protocol and this blog looks at how they can be rectified.

[Read More]

Wednesday Jul 08, 2009

Cometd Features and Extensions

The cometd project is nearing a 1.0 release and thus we are make a bit of a push to improve the project documentation. As part of this effort, we have realized that there are many cool features and extensions to cometd that have been under-publicized.  So this blog is an attempt to give a whirlwind tour of cometd features and extensions.[Read More]

Wednesday Jul 01, 2009

Bidirectional Web Transfer Protocol - BWTP

I really like the idea behind the HTML5 Websocket API - namely that a datagram model should be used for web application communication rather than a request/response paradigm (this is also the idea behind cometd).  But unfortunately, the proposed protocol to carry websocket traffic is neither a good protocol nor is it well specified.[Read More]

Wednesday Mar 11, 2009

Cometd Acknowledged Message Extension

With the release of the latest cometd-jetty in Jetty 6.1.15, the oft requested feature of reliable message delivery is now supported by the Acknowledged Message Extension in the jetty server and in the dojo and jquery clients... ... provide an acknowledged message mechanism for reliable message delivery.[Read More]

Friday Jan 30, 2009

Cometd Grails plugin

Mingfai Ma has created a grails cometd plugin that combines grails 1.1, jetty-6.1 and cometd 6.1.12 to provide spring based grails application environment.
[Read More]

Sunday Dec 21, 2008

Servlet 3.0 Public Review : Update

I have been working on an implementation of the Servlet-3.0 asynchronous servlets with some the fixes/extensions I suggested in my previous blog and from some continuing discussion within the EG. This implementation demonstrates that significant asynchronous behaviour can be implemented without the complexities of redispatching wrapped requests or the forward(path) methods.[Read More]

Thursday Oct 30, 2008

Scalable BlazeDS with async Jetty

Valery Silaev has pointed me to an article on flex.sys-con.com that demonstrates how the asynchronous features of Jetty have been used by Farata Systems to achieve some excellent scalability results with BlazeDS.

BlazeDS is an open source server side that provides comet style streaming events to a flex/flash client side (not strictly comet as it is not strictly ajax).


[Read More]

Friday Apr 11, 2008

Jetty Improves in Netcraft survey (again)

As with most open source projects, it's very hard to get a measure of who/how/where/why Jetty is being used a deployed.  Downloads long ago became meaningless with the advent of many available bundling and distribution channels.   The Netcraft Web Survey is one good measure, as it scans the internet and identifies which server sites run. In the results released April 2008, Jetty is identified for 278,501 public server, which is 80% of the market share of our closest "competitor" tomcat. If we exclude unknowns and others catagory, Jetty is currently 12th in the league table of identified servers of all types and closing in on a top 10 ranking .
[Read More]

Thursday Nov 22, 2007

Asynchronous IO is hard!

The tomcat 6 developers have proposed an asynchronous IO extension as their solution for Comet and Ajax push.  I have long argued that asynchronous handling is needed for Servlets (for comet and other use-cases), but that it is very important to make the distinction between asynchronous IO and asynchronous handling of requests. Asynchronous programming is hard and asynchronous IO even harder.  I maintain that asynchronous IO should be implemented by the container and that only asynchronous events should be delivered to an asynchronous servlet. As if to illustrate my point,the example code that tomcat provide for their asynchronous IO contains some classic bugs and inefficiencies that I examine here as they well illustrate why we should be making all efforts possible to encapsulate asynchronous IO below the level of the servlet API.
[Read More]

Monday Sep 24, 2007

Rockstar or Not?

So you're in a session at AjaxWorld and it's not rocking your world!  Want to know where the real rockstars are talking? Want to know what sessions are going off?  Then tune into
Rocks Or Not and rate sessions in real time and see what others think of the other session live.[Read More]

Thursday Jun 21, 2007

JSR-315: Servlet 3.0 Specification - part I

The Java Community process has proposed JSR-315 to consider the 3.0 servlet specification. In this blog entry, I look at the Async and Comet considerations listed in the JSR-315 and discuss how 3.0 servlets might address them.[Read More]

Webtide

Calendar

Tags

Search

Links

Navigation