This content has been marked as final.
Show 2 replies
-
1. Re: Simplified "Singleton" pattern in WELD
nickarls Dec 22, 2009 8:03 AM (in response to hirowla.ian.rowlands.three.com.au)I'm not sure how synchronous access would work for distributed, application scoped components so I would go for a EJB. Not that I'm sure how it works there either but I would guess they have thought about it :-)
-
2. Re: Simplified "Singleton" pattern in WELD
gavin.king Dec 27, 2009 3:12 AM (in response to hirowla.ian.rowlands.three.com.au)For a real cluster-scoped singleton, you would need to implement a @ClusterScoped scope, on top of something like JBossCache or infinispan.