J
junk1
I have a class called MyClass that contains a static variable (myVar).
I have two J2EE apps running on WebSphere under the same JVM,
MyFirstApp and MySecondApp. From MyFirstApp i set the value of myVar by
doing MyClass.setMyVar(3).
.....what will be the value of MyClass.getMyVar() when run from
MySecondApp?
ie - will the static var have scope across the whole JVM or just the
web app?
Thanks
David Bevan
http://www.davidbevan.co.uk
I have two J2EE apps running on WebSphere under the same JVM,
MyFirstApp and MySecondApp. From MyFirstApp i set the value of myVar by
doing MyClass.setMyVar(3).
.....what will be the value of MyClass.getMyVar() when run from
MySecondApp?
ie - will the static var have scope across the whole JVM or just the
web app?
Thanks
David Bevan
http://www.davidbevan.co.uk