• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

discussion : 3 different categories of tx...

 
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
Guess no one was interested in my recent posting about input / output streams.
In the meantime, some basic research (books, www, buy-beg-borrow...) turns up 3 categories :
(1) text tx thru sockets using
readLine (BufferedReader);
print (PrintWriter) ... I know this one, helps me to debug;
(2) tx of binary data
DataOutputStream ;
DataInputstream
(3) serialized objects
ObjectInputStream;
ObjectOutputStream
...
It seems to me I can use option (3) serialized objects to do data, binary stuff, just about anything so far...
Come to think of it : in an s2a-communication using http-tunneling, is it always necessary to use serialized objects for our input/output streams ???
Sometimes, when I get lucky, some guru answers...

Please do pontificate and philosophize, I will appreciate that.
[ November 24, 2002: Message edited by: achana chan ]
[ November 24, 2002: Message edited by: achana chan ]
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to Streams.
 
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic