Answer the question
In order to leave comments, you need to log in
Is it possible to make a selection from a table that was created in another application?
Hello, I have a question. For example, I wrote an application that creates a table in the database and writes some values \u200b\u200bto it, is it possible to somehow make the second application read this data?
Thank you very much in advance.
Answer the question
In order to leave comments, you need to log in
Of course you can! Moreover, very often they do this, which of course is not very correct.
1. It is necessary to monitor caching and imply that it can be in any application, otherwise you can get invalid data.
2. It is better to write to the database only from one application, the rest read, otherwise P1.
3. Actually, it's not very good to do this, because of the possibility of losing data consistency if several applications write at the same time.
4. It is very difficult to maintain changes in the code and in the structure of the database, when changes in one application automatically affect all the others.
How to do it right?
For the data, a wrapper (application) of the web service type is written, through which everyone works with the database and its data! Or the application itself implements the web service. json - rules.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question