Design issue: Sending recordset to the client
-
Hello Im developing a client/server solution and I want to send a database recordset from the server to the client? What is the best way to do it? (The server is using iocp, mfc and odbc)
How are the client and server communicating? If I were you, I would use HTTP[S] and XML. Just transform your recordset to XML. Michel It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard -
How are the client and server communicating? If I were you, I would use HTTP[S] and XML. Just transform your recordset to XML. Michel It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeardIsnt it a quite large overhead for using xml? (in unmanaged c++)? :confused: Transfering data (records) is not the only thing that my server does, so webservices isnt the thing for me. The server talks to a PABX (phone switch), monitors corporation extensions, communicates with the voicemail system etc etc. Transferring data is the smallest part =) XML sounds nice, but the server will handle a lot of connections and will be in the same machine as 4 other server proccesses, so it cant to much cputime.