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…

Jetty with Spring XML

Since the very beginning, Jetty has been IOC friendly and thus has been able to be configured with spring.  But the injecting and assembling the jetty container is not the only need that Jetty has for configuration and there are several other configuration files (eg contexts/yourapp.xml,  jetty-web.xml,  jetty-env.xml) that have Read more…

Lies, Damned Lies and Benchmarks

Benchmarks like statistics can be incredibly misleading in ways that are only obvious with detailed analysis. Recently the apache HTTPCore project released some benchmark results whose headline results read as: Jetty HttpCore Linux BIO 35,342 56,185 Linux NIO 1,873 25,970 Windows BIO 31,641 29,438 Windows NIO 6,045 13,076 Looking at Read more…