Narendra Pathai

Results 45 comments of Narendra Pathai

@skylermj-252 This pattern is described in Patterns of Enterprise Application Architecture book. Brief description about the pattern: - Separated Interface: Some behaviors implementation must be chosen dynamically based on runtime...

Random thoughts on reconfiguration: Java does not allow reloading same class. So I guess reconfiguration means switching from one implementation to other. Like switching from In Memory Counter implementation to...

@Aravamudhan Sure. I would suggest you to discuss the approach. We may need some microservice toolkit for this.

@Aravamudhan Yes that would be fine :+1: I haven't used Sprint Boot personally though.

@iluwatar There is an issue #188 where concern regarding lazy loading of Singleton is raised. I was going through the singleton documentation yesterday and found that the disadvantages of approaches...

http://programmers.stackexchange.com/questions/179386/what-are-the-downsides-of-implementing-a-singleton-with-javas-enum covers downsides of `Enum` based singleton.

Misko Hevery has discussed Singleton vs single instance in this blog post http://misko.hevery.com/2008/08/25/root-cause-of-singletons/ In his blog Misko discusses that there is nothing wrong in having a single instance of something,...

@iluwatar I had linked this question in my previous comment. :+1: though.

I will work on it and raise a PR

@szpak Yep will do that. Will look at all existing tests and add required tests accordingly 👍 Will ask if I have any questions