Bookmarks tagged [synchronized]
https://stackoverflow.com/questions/26832051/singleton-vs-applicationscope/27848417
All those kinds of singletons (static, @javax.inject.Singleton, @javax.ejb.Singleton and @javax.enterprise.context.ApplicationScoped) are created once per JVM.
Short explanation of the differences
- 📆 published on: 2014-11-09
- tags: static, singleton, synchronized, javaee