Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frontend for PostgreSQL using web service

 
Alexandru Gifei
Ranch Hand
Posts: 42
Java Linux Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I want to develop an Android application which needs to send information to a PostgreSQL database. I need to connect to this db using an intermediary web service. I would like some hints/info's and what should i start with. Thank you.
 
Tim Moores
Bartender
Posts: 2894
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which part is the problem - the Android app, the WS, the Android-to-WS communication, the WS-to-DB communication, or something else? What, precisely, do you have so far, and where are you stuck making progress?
 
Alexandru Gifei
Ranch Hand
Posts: 42
Java Linux Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just the Android application. Id like some guidelines of how to build the communication between Android and WS,then from WS to DB. And i dont know about web services.. Some very basic example would be nice, at least a communication between android and a web server. Sry for my english
 
Tim Moores
Bartender
Posts: 2894
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read up on RESTful WS. Those can be implemented on the server via a library such as Jersey (assuming that server runs a servlet container), and can be accessed from Android using its built-in HttpClient library. I'm sure that you'll find introductory articles if you search for some phrase like "android rest web service" or similar.
 
Alexandru Gifei
Ranch Hand
Posts: 42
Java Linux Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, ill look into it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic