December 19, 2002
Servlet Best Practices

O'Reilly's ONJava site has posted a chapter on Servlet Best Practices. It's an excerpt from their upcoming book Java Enterprise Best Practices. The book is a collection of work from the various authors of O'Reilly J2EE books, each contributing a chapter with "best practices" in their particular domain. I contributed the chapter on servlets. O'Reilly appears to be posting the chapter in sections. The section today has tips on frameworks, character encoding, file loading, and sessions. If you like the idea of a book like this, you can pre-order here.

Posted by Jason Hunter at 09:52 AM
December 17, 2002
The Wonders of the WristWand

This entry is going to sound like an ad, but it's not. It's just me waking up this morning with wrist pain, using the WristWand to get rid of it, and thinking I should probably spread the word of this wonderful tool.

If you have pain in your wrists, take a visit to A co-worked turned me on to this device a while ago, and it's become important enough to my wrist well-being that it goes with me even when I travel. You use it to do this funky inside-out wrist stretch that feels really good and takes away the pain. It's been a wonderful find. If you have one or get one and it helps you too, please comment below.

Posted by Jason Hunter at 10:47 AM
December 03, 2002
Servlet Container Performance

Web Performance has published a performance comparison of J2EE servers testing both servlet-generated and static content. Happily, this report doesn't include EJBs in the mix, just real web serving.

Included are:

  • Apache Tomcat 4.1.12
  • IronFlare Orion 1.5.2
  • Jetty 4.1.1
  • Caucho Resin 2.1.5
  • Sun ONE 7.0
  • IBM WebSphere 4.0

BEA WebLogic and Pramati Server were excluded because their licenses prohibit the publication of performance benchmarks without permission, and permission was not granted. Allaire JRun was targetted for the report but would not run the tests properly. ServletExec was not tested because it's not a standalone server.

The publishers decline to declare a winner. They leave that to you.

Posted by Jason Hunter at 10:34 AM