I am using jboss modules in our enterprise application.
we have a jboss module (let's assume it is packed to "a.jar").
This jboss module contains a singleton (not a Java EE singleton bean, but a POJO singleton, with "getInstance" method).
There are several servlet filters and servlets that would need to access this singleton.
Am I going to experience multiple instances of the class of the singleton, or due to the class loading nature of jboss modules, I am going to get only one instance?
Thanks!