Article View: borland.public.jbuilder.java.language
Article #13How to transmit objects via internet?
From: Vladimir Olenin
Date: Sat, 14 Nov 1998 00:00
Date: Sat, 14 Nov 1998 00:00
48 lines
2333 bytes
2333 bytes
This is a multi-part message in MIME format.
--------------3567A95D32050687AD2C8C31
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Hi,
So, the question is how to transmit them? I know that i should use
ObjectInputStream, etc. I did all the necessary stuff, but it seems that
the class is not initialized after transmitting, though all members are
NOT static or transient. Actually it's the class implements Serializable
interface and roughly speaking has 3 public fields only.
I tried to construct ObjectInput/OutputStream on another stream, that is
FileInput/OutputStream, but FileNotFound exception occurs all the time,
not matter whether this file exists or not.
Should I use RMI and if yes, is it the only way I could resolve my
problem? A code example would be a perfect answer.
Thanx beforehand.
Vladimir
--
>~~~~~~~~<=============>~~~~~~~~<
Be yourself no matter what they say...
Join in Java community now!
http://www.geocities.com/SiliconValley/Heights/9815
>~~~~~~~~<=============>~~~~~~~~<
--------------3567A95D32050687AD2C8C31
Content-Type: text/x-vcard; charset=koi8-r;
name="keenonjava.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vladimir Olenin
Content-Disposition: attachment;
filename="keenonjava.vcf"
begin:vcard
n:Vladimir;Olenin
x-mozilla-html:FALSE
adr:version:2.1;;;;;;
version:2.1
email;internet:keenonjava@collegemail.com
note:Java programmer. Open for project development offers. See my home page at: http://www.geocities.com/SiliconValley/Heights/9815/
end:vcard
--------------3567A95D32050687AD2C8C31--
Technical Details
Message-ID:
<364DCA5F.8A7A3159@collegemail.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,5dc2eb7519e60dde,start X-Google-Attributes: gidf74b3,public X-Google-Thread: ff01d,5dc2eb7519e60dde,start X-Google-Attributes: gidff01d,public From: Vladimir Olenin <keenonjava@collegemail.com> Subject: How to transmit objects via internet? Date: 1998/11/14 Message-ID: <364DCA5F.8A7A3159@collegemail.com> X-Deja-AN: 411885905 X-Accept-Language: en,ru Content-Type: multipart/mixed; boundary="------------3567A95D32050687AD2C8C31" Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.applet-issues