Answer the question
In order to leave comments, you need to log in
Is it safe to make an application with direct queries to the DB?
Is it safe to make an application that will directly connect to the database using jdbc and manipulate it? Or is it better (and more correct) to make a separate server and protocol for interacting with it?
Answer the question
In order to leave comments, you need to log in
Through the internet you mean?
Safely. But it is not rational for performance reasons.
It is safe if the connection is encrypted, otherwise it is not recommended.
It is better to have a backend with a REST/SOAP/etc API, then it will be painless to tie something else.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question