Wolf-Dieter Fink [
http://community.jboss.org/people/wdfink] created the discussion
"Re: Singletons in a J2EE application server"
To view the discussion, visit:
http://community.jboss.org/message/628362#628362
--------------------------------------------------------------
If you talk about the 'standard' Singleton-Pattern (not the @Singleton annotated
one).
You might have different Singletons within the same JVM, because it depends to the
classloader scope.
Example: you deploy a Singleton-Class in a JAR which is included in different EARs or
WARs, in this case it depends to the classloader settings whether you have one or more
instances.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/628362#628362]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]