SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
What kind of application are you talking about?
I am just trying to make a sample desktop application in Eclipse through which I am trying to prove/learn for myself and clear my concept that if we write our own class loader then a class would have only a single instance.
I read somewhere that for ensuring that a class to be truly Singleton we have to write our own class loader to load our Singleton class. Is it true if not then please so clear my concept.
Is this applicable for desktop applications or for web applications ?
And what is the solution which is prescribed for this.
Originally posted by Siddharth Bhargava:
Well, I am just trying to make a sample desktop application in Eclipse through which I am trying to prove/learn for myself and clear my concept that if we write our own class loader then a class would have only a single instance.
Consider Paul's rocket mass heater. |