Hello everybody,
this is my first post here;hope to get the required help.
I used ObjectOutputStream(socket.getOutputStream) and ObjectInputStream(socket.getInputStream) to write and receive data between a server and a client.
However this method prooved to be very slow and i am dealing with large Database Tables.
After doing a search,i used BufferedOutputStream(socket.getOutputStream) and BufferedInputStream(socket.getInputStream).
To my surprise,the speed remained the same :shock: eventhough i declared in the BufferedOutputStream constructor a big buffer capacity.
Any suggestions on why?or a proposed solution?
Best Regards.
this is my first post here;hope to get the required help.
I used ObjectOutputStream(socket.getOutputStream) and ObjectInputStream(socket.getInputStream) to write and receive data between a server and a client.
However this method prooved to be very slow and i am dealing with large Database Tables.
After doing a search,i used BufferedOutputStream(socket.getOutputStream) and BufferedInputStream(socket.getInputStream).
To my surprise,the speed remained the same :shock: eventhough i declared in the BufferedOutputStream constructor a big buffer capacity.
Any suggestions on why?or a proposed solution?
Best Regards.