One way is to use client/server techology. Its a three tier architecture that uses the application server as the medium between the client and the server. The application server is a software that listens to all the client request (using socket programming).Each client request is received by the app. server and appended to the request queue Then for each client in the queue, the app server sends the client request to the server (database) for processing. After processing the client request, the database server sends the return data to the application server which then returns it to the client.. At this point, the application server completes the processing of one client and moves on to the next client and repeats for every client. . Note that the app. server can be programmed to process each client one at a time or simultaneously (all at the same time). If need to process all at the same time, than you may need to implement multi threading technology.