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.
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 WristWand.com. 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.
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:
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.