Rajesh M P
Rajesh M P

Reputation: 497

Persistent HTTP Connection in J2me

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

Answers (1)

Dhaivat Pandya
Dhaivat Pandya

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

Related Questions