Mobile Applications and Games development
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Why HTTP is preffered over socket connection?

2 posters

Go down

Why HTTP is preffered over socket connection? Empty Why HTTP is preffered over socket connection?

Post  Adeesh 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

Back to top Go down

Why HTTP is preffered over socket connection? Empty Re: Why HTTP is preffered over socket connection?

Post  guantana 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
guantana
guantana

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

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