posted 16 years ago
the note at the bottom
"FYI- this wouldn't work correctly if the app is distributed on multiple JVMs, because there is no way to keep the static variables in sync. If the class is loaded on more than on JVM, each class will have its own value for the static counter variable"
If the variables were instance variables then would this work?