0
How to get the client to pass a query to the server and then return what the client requested?
Example: Client passes the server to string: sql = "Select nome From Aluno";
and the server would have to return the name or names of the students registered in the bank.
How to do?
Why socket? this is a requirement or could be made via JDBC itself?
– Krismorte
Yes, only by socket.
– Victor Lauria
What’s the point of that? @Victorlauria
– Jéf Bueno
The intention is to complete an academic work, @jbueno.
– Victor Lauria
And your work is specifically about sockets?
– Jéf Bueno
Not only sockets, I need to develop an application that uses sockets, wcf and xml persistence.
– Victor Lauria
In this case you would have to create 2 applications, A client and a server, The server would communicate with the Database and the Client would request and receive the answer, The part of the connection with the Bank and everything else you already know how to do?
– Edenilson Bila