Creating an HTTP Request in J2ME

I support the J2ME application where I found the http request http://www.google.com in the initialization of the application. I asked the developer why there is a google request. He said that in this way other requests that the application makes will be faster.

I deleted this request on google.com and other requests became slower.

Can anyone explain why this happened? How can I make another request faster without previous requests?

EDIT:

Running a request for google on initialization:

  • First request (after initialization) = 20 seconds
  • Repeat first request = 5 seconds

No request during initialization:

  • First request = 40 seconds
  • Repeat first request = 5 seconds
+3
2

- , JVM MIDlet ( - Edge, GPRS, WiFi). , startApp, , , , . !

, MIDP2 , ( Nokias Samsung ..).

127.0.0.1, , JVM, , GPRS-. .

+4

... , (*) , , jvm.

, www.microsoft.com: -)

*) , , . , , . : , , jvm.

127.0.0.1 google , .

, , , , . , .

+2

Source: https://habr.com/ru/post/1709118/


All Articles