Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while reading Object

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..
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic