This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem while reading Object  RSS feed

 
shahabas shabeer
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have developed a client server application where the server sends an object to the client using writeObject method in the ObjectOutputStream. The client reads the object using readObject() method in the ObjectInputStream class.
Every thing is working great..
But when I run my client from a place, where the internet speed (kbps) is very low, I am getting Streamcorruptedexception..
The object that I am sending is prety much big. Is the above exception is raised because of the size of the object..??
What are the possible solutions for this problem..?

Please help..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!