Client Server application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Naveen Kumar Srivastava
    New Member
    • Sep 2007
    • 17

    Client Server application

    Hi to all,

    I want to make an application which take the request from the client and hold it on server. when server become free it execute the client request otherwise it holds on server.

    Request remains on server till it is not executed . And this should be free from client (Means it doesn't matter that client is live or not)

    Can any one told me that which technology i use.

    1. .Net remoting
    2. Windows Service
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    Try this: http://aws.amazon.com/sqs/

    Comment

    • readerMadsen123
      New Member
      • Dec 2009
      • 5

      #3
      If you want the client part to just pass a command, in a sort of "fire and forget" mode, you just need to implement a queue of some sort.
      You can do it simple by adding a file to a folder, and having the server scan.
      You can do it using a socket connection.
      You can do it using a HTTP request.
      You can do it using a Database, and a "server" in the database as a stored procedure, or a server polling the database.
      You can do use a message queue.

      There are many possibilities. If client and server are on the same machine, you can use commands in shared memory, or you can use pipes.

      I think you need to specify if the communication between client and server must transport large amounts of data, or it is a simple command. And you must also decide if the server should contact the client when the command is executed.

      There are lots of examples available, I found this old one showing how to do socket communication in java:

      Comment

      Working...