Reputation: 497
I am creating Java ME Application, its frequently get data from server with 5 minute gap. Can I use persistent HTTP connection for each request?
Can I use same connection for each request?
Upvotes: 1
Views: 392
Reputation: 6536
Yeah, sure you can.
However, if you are going to have a server that will be handling requests from a large number of devices, you would probably NOT want persistent connections.
Upvotes: 2