Skip to main content

Client-Server Applications with SQL Queries

1 reply [Last post]
aiqa
Offline
Joined: 2003-07-10
Points: 0

I am about to start to code an application. Client and server applications will communicate using sockets. Client will request sql queries from the server and server will turn the results to the client.

What is the best way to get the query result from server to client?

thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
regit
Offline
Joined: 2005-01-11
Points: 0

If you don't want to lock yourself into a Java Client, a popular choice these days is SOAP, or XML-RPC.

The disadvantage of these is that XML parsing takes a considerable amount of resources.

However if you have the hardware, the ability to build a client in almost any language, and the ability to tunnel the requests over HTTP, far out weigh the resource consumption.