Write servers in java. Provide Service Support for mobile apps. So, is there a lot of Solutions to transmit data in json format through basic http? If you need the server to push messages to the app, if you do not use a third party, do you want to use xampp to build a message server and then the app... write the server in java. Provide Service Support for mobile apps. So, is there a lot of Solutions to transmit data in json format through basic http?
If you need the server to push messages to the app, if you do not use a third party, do you want to use xampp to build a message server, and then there is a persistent connection between the app and the message server, can I skip the above http service scheme? Can the basic service be replaced by the message server?
Some of the project's requirements must be the app pull server, and some are the server push to app.
Reply content:
Write servers in java. Provide Service Support for mobile apps. So, is there a lot of Solutions to transmit data in json format through basic http?
If you need the server to push messages to the app, if you do not use a third party, do you want to use xampp to build a message server, and then there is a persistent connection between the app and the message server, can I skip the above http service scheme? Can the basic service be replaced by the message server?
Some of the project's requirements must be the app pull server, and some are the server push to app.
1. Data in json format is still mainstream Based on Http protocol;
2. We recommend a good blog article on pushing (push is still troublesome, and third-party push is designed to solve this "troublesome" problem ).
In this situation (Android platform), it is almost impossible to maintain persistent connections in the background. it is still based on Http, so long connection push is not required. there is a need for pushing. It takes time and effort to use a third party... don't rely on pushing in the background. This is a resentment.