File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Frontend for PostgreSQL using web service Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Frontend for PostgreSQL using web service" Watch "Frontend for PostgreSQL using web service" New topic
Author

Frontend for PostgreSQL using web service

Alexandru Gifei
Greenhorn

Joined: May 19, 2012
Posts: 18
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
Rancher

Joined: Sep 21, 2011
Posts: 2407
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
Greenhorn

Joined: May 19, 2012
Posts: 18
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
Rancher

Joined: Sep 21, 2011
Posts: 2407
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
Greenhorn

Joined: May 19, 2012
Posts: 18
Thank you, ill look into it.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Frontend for PostgreSQL using web service
 
Similar Threads
postgres connectivity failure with jdbc
Initial Context problem
how to map integer array in hibernate
How to stop automatically running services?
BUG: attach clip image can't show