Web application request query execution for desktop application

Asked

Viewed 8 times

0

I want to implement a solution in the following scenario:

A web application will send a desktop application an sql statement to be executed and return the result to the web application.

Example: Web app sends request to desktop app:

{"query": "select id,produto,descricao from produtos", "db": "001"}

That is, the so-called part of the web application for the desktop application (a kind of synchronizer/executor)

How could I do this process? using socket?

Like q in the web application appears the status if the desktop application is connected, and there could be more than one desktop application connected to each client registered in the web application.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.