Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Tips and short articles on this subject
Turning objects into something you can store - Pickling (Python)
Serialization in Java - all layers required!
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Java module J809
Serialization
Exercises, examples and other material relating to training module J809. This topic is presented on public course Java Programming for the Web

Java Programming for the Web - Learn to write server- or client-side applications in Java. This course introduces you to the Java programming language, ...
http://www.wellho.net/course/jpfull.html  [course]
If you're working with objects in an OO language and you want to transfer them to another computer ... or simple save them from the current application ...
http://www.wellho.net/mouth/1149_Tur ... thon-.html  [short article]
If you want to subject a delicate piece of equipment to an extreme of temperture for a prolonged period, it's no good just putting it in a box, even if ...
http://www.wellho.net/mouth/1067_Ser ... ired-.html  [short article]
import java.awt.*; import java.awt.event.*; import java.util.*; import java.io.*; public class kingfisher extends Frame { protected Drawing sketch; ...
http://www.wellho.net/resources/ex.php4?item=j809/kingfisher.java  [code sample]

The information held in an object can be spread all around the data area of your Java program. If you want to save an object to a file, or transmit it over a connection to another computer, you'll need to be able to pick out the salient information and assemble it into a series of bytes, a process known as "serialization".

This topic is presented on public course Java Programming for the Web

Examples from our training material
Bead.java   The Serialiable class itself
Drawing.java   A class managing a vector of selializable objects
kingfisher.java   Application to demonstrate serialiasble objects
mousehandler.java   Serialiazable demo mouse handler class
Background information
This module is available under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
Saving objects to a file.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Java,Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


© WELL HOUSE CONSULTANTS LTD., 2009: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho