thanks for your reply. I am able to make a simple servlet wing eclipse and tomcat and it works very well.
now i want to to make a basic client server model. i know about socket client and server. now i want to know about how a servlet can respond to client.
I have made jdbc connection and it is working with socket server.
Actually i want to develop multi tier system in which each computer can send and receive information or exchange information. I am unable to understand how can i do this?? Please help