how can we serialize singleton ? I guess we cannot
<p>I found many threads running in stackoverflow.com for making SingleTon object serializable.
And also experts are providing way to serialize Singleton object.<br></p>

<p>In my opinion, we cannot Serialize singleton object even if we implement Serializable interface, <br> because SingleTon reference variable is static in the same class. <br>
And Serialization api says that we cannot serialize or write static-reference's state in the file.<br>
And also we cannot save the state of transient variable.<br>
While serialization process (actual writing process) static and transient variables are ignored.<br>
Please give your valuable inputs if I misunderstood. If I misunderstood, can anybody help to serialize Singleton object with code example?<br></p>
