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?
This thread has been viewed 220 times.
All times above are in ranch (not your local) time.
The current ranch time is
Oct 17, 2018 22:35:30
Copyright © 1998-2018