Why JDBC is ill-advised with Android Development -
Why JDBC is ill-advised with Android Development -
i have read countless posts regarding utilize of jdbc android. suggests take path of using php scripts , using http clients within android code.
it great clear indication why jdbc not advised.
jdbc access straight web client, browser or web phone, implies database port exposed on public internet. that's not safe place info be.
i think improve approach set 1 or more servlets between clients , database. allow servlet(s) handle security, validation, binding, deciding services invoke fulfill utilize case, marshaling response, , routing next page depending on outcome.
this design lets set intermediate layer on net , maintain info safe behind firewall.
it's called model-2 mvc. it's been standard idiom java web development more 10 years.
you'll lot more utilize out of code if have clean separation of presentation of info how it's produced. uis come , go, services , info linger. think in terms of services first , you'll better.
android jdbc
Comments
Post a Comment