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] |
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, ... http://www.wellho.net/mouth/2435_Ser ... jects.html [short article] |
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] |
static class Bead implements Serializable {
public short x1,x2,y1,y2;
public Bead(short x1, short y1, short x2, short y2)
{
this.x1=x1; this.y1=y1;
... http://www.wellho.net/resources/ex.php4?item=j809/Bead.java [code sample] |
static class Drawing extends Component {
protected int wide,high;
protected Frame box;
protected Vector beads = new Vector();
public Drawing(Frame ... http://www.wellho.net/resources/ex.php4?item=j809/Drawing.java [code sample] |
class mouse_handler extends MouseMotionAdapter{
private kingfisher cyan_flash;
protected short x,y,xfrom,yfrom;
public mouse_handler(kingfisher george)
... http://www.wellho.net/resources/ex.php4?item=j809/mousehandler.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
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.