For more info on Serializable, see a link to a tutorial on the hint page. In most cases, all you have to do is to declare your class as serializable.