Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I handle versioning of my Externalizable classes? Do I have to write a version number to the stream?

0
10 Posted

How do I handle versioning of my Externalizable classes? Do I have to write a version number to the stream?

0
10

Location: http://www.jguru.com/faq/view.jsp?EID=30732 Created: Mar 31, 2000 Modified: 2000-03-31 14:01:00.132 Author: Tim Rohaly (http://www.jguru.com/guru/viewbio.jsp?EID=10) Just as with classes that implement Serializable, the serialVersionUID field is checked when reading in Externalizable objects via an ObjectInputStream. If serialVersionUID is not explicitly defined in your Externalizable class, then one will be computed for you upon deserialization. See the FAQ at http://www.jguru.com/jguru/faq/view.jsp?EID=5063 for more details.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.