1
I have a Desktop system that every 1 hour makes a query in the database and generates a file .xml
and a system javaWeb
who reads that .xml
. I developed this solution because the company I work with has some security standards where a system that will be on the Internet is not allowed to access the database directly. But when I do deploy
of this cloud system it will have to connect with the company server to be able to read the .xml
and that wouldn’t be safe either.
The first alternative is to have my desktop system generate these files within a server FTP
where the web system has a connection and can read these files.
But I have been wondering if it would be more feasible to use the concept of WebService
to solve this problem, and if I created a local system that makes the queries and my system that will be in the cloud consumed the data?
Which option seems to be the most viable and safe?
In my opinion using Webservice would be the most appropriate, because in the webservice you make available only the methods and information you want, having a greater control. I wouldn’t recommend using FTP.
– Armando K.