Reputation: 103
I'm developing an app on android that communicate with server to update location information. Eg: when you find a good restaurant, you can mark in on the map and share with other people. Everyone will see it and know what special discount that restaurant is offering. I've finished the code of marking this location and share on both android and server side. I've written and deployed it as axis2 web application. Now, I want to update the location which is shared by someone in realtime. I'm thinking of web socket. But I don't know how to do with it after several days of researching. My problems are:
I don't know which framework I should use for this case. I've tried jWebsocket, but it make me crazy because of a ton of configuration. I've tried JavaWebsocket(created by TooTallNate) and Atmosphere also, but they require running dependently. I just want to put it into the same war file with the existed code of axis2 or something that I can deploy on the tomcat server.It's very easy to find a cloud to deploy a web app, but quite difficult to run a dependent server such as JavaWebSocket, you know. Am I able to do this? Can you suggest me some framework?
I also want to create a code at the android client side, are there any library or framework I could use?
I'm new to web socket, so I don't know where to go. Thank you for every suggestion!
Upvotes: 0
Views: 1032
Reputation: 2848
I used JWebSocket that based on Jetty and fully embedable into Tomcat. It also has different client libs (javaScript, android).
Upvotes: 1