| As for ServletContext, it has get and setAttribute() methods.
In regards to thread model, now you're getting into complex ground that is *way* beyond the boundaries of a "newbie" site. You'll be happy to know that Java 1.5 gave programmers new tools to deal with multi-threaded code, but I'd just head out and buy some books. You're basically talking about load-balancing, which opens a whole new can of worms, as you need to make sure the data is transmitted between each of the threads. |