Java programmers, like C++ programmers, expect that static instances (namely, static fields) are unique within the JVM. While true for most Java code, the real story behind the "static" keyword is more complex than that. What's worse, it can rear its head to bite Java programmers in very sensitive areas in complex environments like a servlet container or EJB server.
Keywords:Java2 ClassLoaders Java
Download the Paper
Download the Code (Note that the code makes heavy use of the Ant
build tool for building and running the examples within the paper.)