A friendly place for programming greenhorns!
Singleton Java Class V/S Spring Singleton
Feb 07, 2018 13:49:07
I understand that
program written as Singleton means 1 instance per JVM per class loader
Spring Singleton is 1 instance per Spring Container.
So, I was just wondering if is it possible to have two Spring Containers in a Spring MVC application? If yes, then how? And, if we have 2 containers does that mean 2 separate JVMs?
Wink, wink, nudge, nudge, say no more ...
This thread has been viewed 94 times.
All times above are in ranch (not your local) time.
The current ranch time is
Feb 23, 2018 05:48:46
Copyright © 1998-2018