Why HTTP is preffered over socket connection?

Go down

Why HTTP is preffered over socket connection?

Post  Adeesh on Wed Oct 03, 2007 11:49 pm

Hi,
Please tell me why HTTP connections are preferred over socket connection in J2ME application. Although socket connections are faster than Http.

Thanx
Adeesh Jain

Adeesh

Posts : 10
Join date : 2007-09-11

View user profile

Back to top Go down

Re: Why HTTP is preffered over socket connection?

Post  guantana on Thu Oct 04, 2007 10:34 pm

In J2me device fragmentation is a big issue. Actually HTTP is a part of MIDP2.0 and socket connection are optional depending upon phone manufacturer. So if u go for HTTP, you can be sure that all MIDP phones support this but socket could be an issue.

IF you write your application on socket, you also need to give support for http in case a phone doesn't support socket. This is exactly Opera-mini does.

Is this answer your question.

Guantana
avatar
guantana

Posts : 22
Join date : 2007-09-09
Location : New Delhi, India

View user profile http://guantana.blogspot.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum