My question is this - Within what scope is the static method guaranteed to return identical references to the static property of X? Is the property guaranteed to be static within a single web application or across all applications running in the servlet container? Is this at all dependent on the implementation of the servlet container or defined in the servlet specification somewhere?
Why not try it in your container and let us know what happens?
Here's a small change with a big impact: In API 2.3, a servlet container (a.k.a. the server) will ensure that classes in a Web application not be allowed to see the server's implementation classes. In other words, the class loaders should be kept separate.
it appears that it would indeed be seperate. Of course, verifying this in your container as suggested by Frank Carver above is always a great idea.