Hi everybody,
I need your suggestion about distributed system. I have a web application that is running in company intranet and now we need to develop new web application to run on cloud server. But we need to use some data in house database but don't need to setup database on the cloud.
Can I develop web api to distribute data to new application because we also have plan to support mobile applications. Please help and suggest the best way to do that.
Thank you.
Hi Berm, an API to expose data from your in-house database would be a good first step. But stepping back a little, how do you plan to enable access to your in-house server(s) to outside applications ? If you have a public IP address you can NAT (network address translation) traffic from outside on this IP into your in-house server(s) - this can be http traffic, traffic on specic ports (eg to a database server), socket to socket or whatever traffic you decide to allow. Alternatively (I have no experience of this) some cloud providers sell Virtual Private Networks that can connect to your own network.
Once this connectivity question has been resolved the system design options can then be narrowed down a lot more.
Hi Berm.. I am not sure if I understand your question correctly. Could you please rephrase the question so that we all can understand your query and provide helpful answers?
Mario Hartman
Software and coffee lover!
I would suggest to expose your data using Restful services. You already have a webapplication in your intranet, so you can add a rest layer on top of your current services and allow external traffic to consume your rest services (please use https and a good security framework)
Using a rest layer with json data will allow you to easy develop any kind of clients (i.e mobile clients).
Good luck!