Conversation
it is important to note that the singleton pattern is inherently unsafe for distributed environments, since the initialization state is not mirrored across different instances of the java vm
|
Thanks, this is a good point. Could you please add some more explanation about it? I see there is a good discussion about this here: http://stackoverflow.com/questions/17721263/singleton-across-jvm-or-application-instance-or-tomcat-instance |
additional explanation about the risks of using the singleton pattern, as requested by @iluwatar
|
Hi all Great job:) Anyone have some opinion about evolve and/or write some design pattern for Let me know yours opinions. Sorry if it's not a propriate discussion in this track. Best regards
|
|
Hi @aceiro, Thanks for your comment. It's a good point, why not start using Java 8 right now? I suggest that you create an issue for the project. We can then see where Java 8 features could be used and what benefit does it bring. |
Add process substitution
it is important to note that the singleton pattern is inherently unsafe for distributed environments, since the initialization state is not mirrored across different instances of the java vm