1 Reply Latest reply: Mar 20, 2008 7:08 AM by 807591 RSS

    client\server and objects


      I have client/server programe and two  kinds of objects and I want to send multiple requests from client side containing both of objects depending on my condition in client side and I have to calculate the response time for every request , in server side I define two type of buffers to accept both objects and start to process them and send the response to the client?*
      My problem I get error  (java.io.StreamCorruptedException and java.lang.NullPointerException) when it switch from one type of object  to another?
      If you have any idea to implement this code please help me.