Is there a difference using a singleton class and an application scoped managed bean to hold application data?
I need to lookup certain JNDI ressources such as remote bean interfaces and therefore I wrote myself a singleton to cache my references and only allow single references. (ServiceLocator)
I opened my website in two different browsers and that singleton got only initialized once. So I assume its application scope?
Any other benefits of a application scope managed bean then being able to access its properties in jsf?