RSS feed
<< November 2006 | Home | January 2007 >>

Unit Test Servlets with Jetty

New API for embedding Jetty in unit tests

This rainy weekend, I was inspired by a question from hani about testing servlets. As a result I've added a module to Jetty to simply test servlets with an embedded server configured by the ServletTester class. The HTTP requests and responses for testing can be generated and parsed with the HttpTest class.

Read more...

Gaming with GWT and Jetty continuations

Asynchronous Google Toolkit for fun and gambling addictions

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...