Wednesday, May 6, 2009

Raylene Richards Camouflage

GWT learning: use of H1, H2, etc. to use for headlines

Here is a small collection of links about serializability in Java, which amounts in particular to the implementation of the interface Serializable

.

Java Rebel: implement Serializable could probably contains EVERYTHING (and more) to know what you want - Java Object Serialization Specification : - Good summary SUN.

short answer to the question of how to make a Java class serializable:

Serializable interface class must implement


class must have a
serialVersionUID
and that the value most about the tool included with JDK

servialver

is generated (this may well follow the instructions

the CLASSPATH and NOT accidentally address the source directory). If you use Eclipse, the IDE can also be used to generate. Notes to here.

The final class looks for example like this: public class

SMAbschluss

P1090074b static final long serialVersionUID =- 689428171468533962L;

  • ....

0 comments:

Post a Comment