sending files using byte array
I am playing around with sending files back and forth over the internet through a client/server connection. I am taking a video file, converting it to a byte[] and then sending the byte[] to the server side which then writes the file to the server and stores it's location in a derby database. Then to view the file from the client i send a request to the server to then read that file into a byte[] and send the file back to the client. which then takes the byte[] and writes a file and then plays the file. This works, but slowly. I know it isn't an effecient process, but for my level of programming it works and is a learning experience.
My question -- say i have a byte array of 12,000, can i break the byte[] down by increments of 500, and play that. if possible it would cut down on the time it took to start playing the video. to view the videos, i am currently opening them through java in windows media player.
hopefully you can understand my idea and question. thanks

