Skip to content

Update App.java#31

Merged
iluwatar merged 2 commits intoiluwatar:masterfrom
mbirkenkamp:patch-1
Mar 14, 2015
Merged

Update App.java#31
iluwatar merged 2 commits intoiluwatar:masterfrom
mbirkenkamp:patch-1

Conversation

@mbirkenkamp
Copy link
Copy Markdown
Contributor

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

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
@iluwatar
Copy link
Copy Markdown
Owner

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
iluwatar added a commit that referenced this pull request Mar 14, 2015
@iluwatar iluwatar merged commit c7e500f into iluwatar:master Mar 14, 2015
@aceiro
Copy link
Copy Markdown

aceiro commented Mar 16, 2015

Hi all

Great job:)

Anyone have some opinion about evolve and/or write some design pattern for
Jdk 8, in particular, using new features existing on Jdk such as lambda
expression, around patterns and so on.

Let me know yours opinions.

Sorry if it's not a propriate discussion in this track.

Best regards
Erik
On Mar 14, 2015 4:07 PM, "Ilkka Seppälä" notifications@github.com wrote:

Merged #31 #31.


Reply to this email directly or view it on GitHub
#31 (comment)
.

@iluwatar
Copy link
Copy Markdown
Owner

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.

@mbirkenkamp mbirkenkamp deleted the patch-1 branch March 19, 2015 10:11
pratigya0 pushed a commit to pratigya0/java-design-patterns that referenced this pull request Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants