Help in creating a NetworkClassLoader

Sir,

I what to transfer a .class from a network. So i want to create a networkclassLoader which extends the parent classloader. I am unable to get any idea about how to create a network connection and send a .class from a network system.

i have developed a simple network program which just establish a connection and send a message to both the system but i am not able to send a .class file from one system to another.

So please help in creating a networkclassLoader or sample blueprint of creating a networkClassLoader file