gregw

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]

Saturday Dec 20, 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]

Wednesday Oct 29, 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]

Wednesday May 09, 2007

Servlets 3.0

I'm just fresh out of a session at JavaOne where Sun have revealed their road map for the servlet 3.0 specification. My initial reaction is that it contains both some good and bad items as well as quite a few concerns in between. The 10 words or less version is: Annotations, JSF, Ajax, Comet, REST, scripts, security and Misc.[Read More]

Friday Dec 08, 2006

Gaming with GWT and Jetty continuations

The Google Widget Toolkit allows Ajax applications to be developed in java code using the traditional UI widget paradigm. The toolkit includes support for RPC, but not for comet style Ajax push. I've been working with Ryan Dewsbury of www.aplayr.com to convert their GWT powered games of risk and pocker to use Jetty continuations. First... play a lot of poker![Read More]

Webtide

Calendar

Tags

Search

Links

Navigation