Help with Infrastructure

Asked

Viewed 26 times

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.

1 answer

1


Webservice would be an elegant way to solve this, a crossdomain access would also solve, now this ftp story gets kind of gambiarra to my view.

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

  • So I also found gambiarra kk, but I still did not quite understand the concept of WebService.

  • If you have knowledge in PHP and/or ajax I suggest crossdomain, if you already have some baggage in JAVA just give a read and hand in the bulk

  • Okay, thank you very much, I’ll do everything in java.

Browser other questions tagged

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