Romi
Romi

Reputation: 4921

How to make a webservice and connect android application with it

I made an android game. Now i want to store game score of each user in a database.

I am not getting how i can do it, but as far as my findings i need to create a web service for it, where all the functionality for fetching and storing of data.

My questions are:

  1. How to make a web service for fetching and inserting data in DB

  2. how to connect android application to this web service

web service should be in java.

Upvotes: 1

Views: 1943

Answers (1)

Parth Doshi
Parth Doshi

Reputation: 4208

There are so many questions on connecting an Android application to a web service. If you plan to implement your webservice in Java then I suggest you use the Spring Web Services.

EDIT

Java has two standards for web services: JAX-WS for SOAP web services and JAX-RS for REST web services. Each of these have several implementations. However, I would prefer using the Spring web services.

Also, try reading about Spring from over here.

Hope it helps

Cheers

Upvotes: 3

Related Questions