Help with Infrastructure

1

I have a Desktop system that every 1 hour makes a query in the database and generates a .xml file and a javaWeb system that reads this .xml . I developed this solution because the company I work with has some security rules where a system that will be on the Internet is not allowed to access the database directly. But when I do deploy of that system in the cloud it will have to connect with the company server so that it can read .xml and that would not be safe either.

The first alternative is to have my desktop system manage these files within a FTP server on which the web system has a connection and can read those files.

But I have been wondering if it would be more feasible to use the WebService concept to solve this problem, and if I created a local system that queries and my system that will be in the cloud consumed the data?

Which of the following seems to be the most viable and safe?

    
asked by anonymous 07.07.2015 / 15:43

1 answer

1

WebService would be an elegant way to solve this, a crossdomain access would also solve, now this history of the ftp is kind of gambiarra at my sight.

Edit : viable and secure all would be or would have a margin, if of course everything is used with the measures applicable to each of them.     

07.07.2015 / 15:49