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
posted 14 years ago
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.