Exercises, examples and other material relating to training module J809. This topic is presented on public course
Java Programming for the Web
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".
Articles and tips on this subject | updated |
2435 | Serialization - storing and reloading objects In most of the languages we teach, data is held in memory on a "heap" with a "symbol table" holding the names of the variables, where they are stored, and what type of information the (currently) contain. When you write simple variables out to a file (or the screen) functions like print or puts (Tcl) ... | 2009-10-04 |
1149 | Turning objects into something you can store - Pickling (Python) 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 for reloading into that application or another one on the same computer later on, you need to serialize the objects.
Data within OO programming languages ... | 2008-10-11 |
1067 | Serialization in Java - all layers required! 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 that box CAN withstand the temperature extreme. No - you need to have piece of temperature tolerant equipment AND a tempertaure tolerant box if you're ... | 2007-02-05 |
Examples from our training material
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
[here].
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,
Ruby,
Lua,
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.