SPDY support in Jetty

SPDY is Google’s protocol that is intended to improve user experience on the web, by reducing the latency of web pages, sometimes up to a factor of 3. Yes, three times faster. How does SPDY accomplish that ? SPDY reduces roundtrips with the server, reduces the HTTP verboseness by compressing Read more…

WebSocket over SSL in Jetty

Jetty has always been in the front line on the implementation of the WebSocket Protocol. The CometD project leverages the Jetty WebSocket implementation to its maximum, to achieve great scalability and minimal latencies. Until now, however, support for WebSocket over SSL was lacking in Jetty. In Jetty 7.6.x a redesign Read more…

mvn jetty:run-forked

Being able to run the jetty maven plugin on your webapp – but in a freshly forked jvm – is a feature that has been requested for a loooong time. With jetty-7.5.2 release, this feature has been implemented, and it even works on your unassembled webapp. How to Run mvn Read more…

CometD 2.4.0.beta1 Released

CometD 2.4.0.beta1 has been released. This is a major release that brings in a few new Java API (see this issue) – client-side channels can now be released to save memory, along with an API deprecation (see this issue) – client-side publish() should not specify the message id. On the Read more…

Jetty WebSocket Client API updated

With the release of Jetty 7.5.0 and the latest draft 13 of the WebSocket protocol, the API for the client has be re-factored a little since my last blog on WebSocket: Server, Client and Load Test. WebSocketClientFactory When creating many instances of the java WebSocketClient, there is much that can Read more…

GWT and JNDI

Many folks want to use some features beyond the bare servlet basics with GWT, such as JNDI lookups. It’s not hard to set up, but there are a couple of steps to it so here’s a detailed guide. Since GWT switched to using Jetty for its hosted mode (also known Read more…

Sifting Logs in Jetty with Logback

Ever wanted to create log files at the server level that are named based on some sort of arbitrary context?It is possible to do with Slf4j + Logback + Jetty Webapp Logging in the mix. Example projects for this can be found at github https://github.com/jetty-project/jetty-and-logback-example Modules: /jetty-distro-with-logback-basic/ This configures the Read more…

NoSql Sessions with Jetty7 and Jetty8

When Jetty 7.5.0 is released we will have officially started to dabble in the area of distributed session handling and storage. To start this out we have created a set of abstract classes around the general concept of NoSQL support, and have prepared an initial implementation using MongoDB. We will Read more…

Prelim Cometd WebSocket Benchmarks

I have done some very rough preliminary benchmarks on the latest cometd-2.4.0-SNAPSHOT with the latest Jetty-7.5.0-SNAPSHOT and the results are rather impressive.  The features that these two releases have added are: Optimised Jetty NIO with latest JVMs and JITs considered. Latest websocket draft implemented and optimised. Websocket client implemented. Jackson Read more…