I have a Java EE application with its EJB and database server.
I’m now trying to make the client version of my app an android one.
I have entity beans along with database on the server(desktop pc) and I want to get these data, and on timely basis to the android app and see the updated state of my database’s content.
My question is, how would I make android app to communicate with the server.
I tried to read what protocol to use but I still am not clear with them.
Do I use java socket like I used to do when I developed tcp/ip chat application? Or, REST(which I have no much clue about or …)
Thanks in advance for your astute recommendations
You can use REST. Android supports REST and you watch this video on Google IO 2010, also web is full of working example to help you.