Dragons in the Algorithm
Adventures in Programming
by Michael Chermside

Threadsafe Java Servlets - a solution

In a previous post I wrote about how nearly all web applications built on Java servlets suffer from potential threading issues. Web browsers can make multiple simultaneous requests, which will result in multiple threads concurrently modifying the (not threadsafe) HTTPSession. Most people just ignore the problems (which strike rarely), some …

Read more

Posted Tue 07 October 2008 by mcherm in Programming

Threadsafe Java Servlets

Web servers are inherently threaded applications: their primary purpose is to serve up a website or web application to a large number of users. Essentially all of the frameworks for creating web applications, such as Java's "servlet" specification and all of the structure built on top of it, provide built-in …

Read more

Posted Tue 23 September 2008 by mcherm in Programming

The Secret to Making Chrome

ChromeGoogle has released a new browser, "Google Chrome". It features quite a few innovations: some user interface innovations include tabs above the menus and URL bar, a single field combining the URL and search fields, search and status bars that disappear when not in use and a home page showing …

Read more

Posted Mon 15 September 2008 by mcherm in Programming

The Wager

You are really lazy. It's nothing personal of course -- everyone tends to procrastinate to some extent, but right now it's YOUR turn. In just a moment, I am going to convince you that you want to do something. You'll agree that it's a good idea, you'll tell yourself that you …

Read more

Posted Mon 25 August 2008 by mcherm in Uncategorized (backup, bet, lazy, mozy, review, wager)