May 19, 2005

Impressed by Jetty

Until the last couple of days I'd only heard in passing about Jetty, a 100% Java HTTP Server and Servlet Container.

One of our projects at work, for reasons that I won't go into here, requires a local test environment for each developer that uses up most of the 1 GB of RAM. Only a small part of the system is a web application that exposes a few web services.

Now we would normally use the WebSphere Test Environment within Rational Software Architect to test web applications during development. But in this case it's overkill. The webapp is stable and WTE requires too much memory.

Enter Jetty. The tutorial showed me how to quickly get Jetty up and running. So far, so good. But what I really wanted was to run Jetty inside the IDE. Enter the Jetty Launcher Eclipse Plugin, which was very easy to set up and meant I didn't need to export the WAR and include a definition of the webapp in a Jetty XML file.

So I'm impressed by what Jetty has provided for this particular purpose. Added to that, I'm glad to know that it originated in Balmain (courtesy of Mort Bay Consulting), not far from our office in Sydney!

Posted to Software Development by Keith Pitty
Comments

1MB of RAM? Wow, the workstations have gone downhill since I left. :)

Posted by: Charles Miller at May 19, 2005 10:43 PM

Jetty is one of the best light-weight web containers available. It has been used in numerous enterprise products with good success.

Posted by: JavaPro at May 20, 2005 2:31 AM

Charles: we might only have 1Mb RAM, but we do have the big 40Mb hard drives, full EGA video and MSDOS 3.3. So nyah!

Posted by: Alan Green at May 20, 2005 5:46 AM

Oops. Of course I meant 1 GB, not 1 MB. Fixed.

Posted by: Keith Pitty at May 20, 2005 9:55 AM