How to connect android application with my websit database? - java

I have already design a web site using Spring MVC. Now I want to develop an android application that able to get the client details of my web site and the interface is completely different from my web site and also has additional functions. The changes made through android application should be updated in my web site also. What is he best way to do it? Can I make my database common for both applications or I want to move into REST web services.

Related

How to create java web service to write data to Firebase?

We are creating an Android app and web app using Firebase 3.0.0. Right now both these clients are writing data directly into Firebase database.
We wish to avoid this by introducing Web Services component in between. This component will write data to Firebase, and it will be consumed by Android and Web (or iOS in future) apps.
We have decided to develop web services using Java, we found Firebase JAR for JVM.
There are no Firebase tutorials to implement such a component.
Can we use this JAR for creating web services in Java? How?
Thanks
For the new Firebase, you can use the server SDK from this documentation page: https://firebase.google.com/docs/server/setup. Then start accessing the Database by following the instructions here: https://firebase.google.com/docs/database/server/start

JavaFX application to expose Webservice

I am new to Web service, and have a JavaFX desktop application running client-side.
I am planning to create an Android application that will call the web service exposed by the desktop application. Any suggestions on how to do this? Tutorial links would be helpful.
I know you are new to webservices, but please go through some documentations first ! You may find a nice tutorial here
A short introduction to Web Services
Just to give you a brief idea on what is wrong with your question. Javafx Desktop application and an android application are both basically clients (who consume web servcies).
You need to have a Server (who exposes web services) hosting a web application, so that these clients can use it. Your webapplication build in java, php, asp etc. The language doesn't matter in case of webservices !

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:
How to make a web service for fetching and inserting data in DB
how to connect android application to this web service
web service should be in java.
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

linking android application with google app engine datastore

i am looking for a link through a web service between an android application and an application that is deployed on google app engine.the user inputs data in the android application which has to be passed to the jsp and jpa application deployed on the google app engine.Can anyone please help...
See this article for how to authenticate against App Engine from inside your Android app. From there, how you interface is up to you: You can write a RESTful API, or use any number of HTTP-based RPC protocols to communicate between the Android app and the site. Which you choose depends on your needs, which you haven't detailed.

importing contacts from gmail,yahoo,msn etc from other services using java/j2ee

I am developing a java/j2ee based web app where I am provide a feature to my web app users, where they will be able to get contacts from the different email providers like yahoo gmail and msn and many other services. Since I am building it on java, I found a open source library which is struts 1.2 based application here is the link http://code.google.com/p/socialauth/
here I have to mention that I am using Amazon web services simple emailing service to send out emails using there java api's.
I am novice or I dont knw much about the struts, I am trying to figure out how this struts1.2 based app can be integrated with my servlets or aws, sms java api.
Help me out in this regard
The best API is Smack API. Click Here

Categories