Java and Me

An Interesting Journey

Menu

Serialization

Safe Singleton

In my previous article, we saw how singleton can be created. But there can be some scenarios where serialization and de-serialization of singleton object is required and that can create multiple objects of a singleton class. This can be prevented if

Rahul Kulshreshtha February 12, 2015 Multithreading 1 Comment Read more

Categories

  • Java 9 Features
  • JUnit
  • JVM
  • Multithreading

Recent Posts

  • JVM Flags
  • JEP 102- Process API Updates
  • Safe Singleton
  • Java 9 Features
  • Lazy Initialization in Multi-threaded Environment

Recent Comments

  • Robin on JEP 102- Process API Updates
  • Rey on Lazy Initialization in Multi-threaded Environment
  • rajesh khore on JUnit Introduction
  • ig on Lazy Initialization in Multi-threaded Environment
  • Java 9 Features | Java and Me on JEP 102- Process API Updates

Archives

  • February 2015
Copyright © 2025 Java and Me. Powered by WordPress. Theme: Spacious by ThemeGrill.