Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about HTTP1.1

 
ying qu
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
I use J2ME Wireless Toolkit to emulate an application and communicate with tomcat server using HTTP1.1. What confuse me is that it always costs much more time (the time between the client sending the request and receiving the result ) for the first request than the following request, while the time interval between each request is long enough to let the socket connection be closed.
Is there anybody can explain this phenomenon for me?
Thanks a lot!!
Ying
 
Jeremy Thornton
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The average connection time for all phones is longer when making the first connection. You say that the times beteen getting data is long enough for the connection to close - are you sure ?
The reason I ask is because when I've been messing about with the SL45i I noticed that the connection stays open even when explicitly closed for the linger time set on the handset!
Not very good for users who may have to pay for up to 120 seconds for something that could be acconplished in, say, 20 seconds.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic