This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The value of the static variable won't be serialized. When the object is deserialized into a new JVM, assuming the class hadn't already been loaded, the class will first be loaded normally. That means that any static initializers will be executed, so that the value of that static variables will be whatever it is right after the class is loaded. If the class had already been loaded, then the static variable won't be affected by the object being deserialized.