🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #751

Re: Trouble reading back a serialized object

#751
From: John McGrath TeamB
Date: Mon, 16 Dec 2002 21:22
21 lines
1510 bytes
On Mon, 16 Dec 2002 16:06:59 -0500, George wrote:

> > Does your readObject() method call the defaultReadObject() 
> > method on the ObjectInputStream passed to it?

> No it doesn't.  Should it?

Yes.  That is what will set those String values.

Here is a some useful information on serialization:

   http://java.sun.com/docs/books/tutorial/essential/io/serialization.html

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.18680e3af9fc9a2798bbf1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail
References: <3dfe363c@newsgroups.borland.com> <MPG.18680a0f3907108a98bbed@newsgroups.borland.com> <3dfe4074$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,68acc6f7611760b3
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-12-16 13:27:33 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: Trouble reading back a serialized object
Date: Mon, 16 Dec 2002 16:22:52 -0500
Message-ID: <MPG.18680e3af9fc9a2798bbf1@newsgroups.borland.com>
References: <3dfe363c@newsgroups.borland.com> <MPG.18680a0f3907108a98bbed@newsgroups.borland.com> <3dfe4074$1@newsgroups.borland.com>
X-Newsreader: MicroPlanet Gravity v2.60
NNTP-Posting-Host: 151.197.232.252
X-Trace: newsgroups.borland.com 1040073772 151.197.232.252 (16 Dec 2002 13:22:52 -0800)
Lines: 21
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail