kSOAP on PalmOS Emulator SLOW compared to other emulators
"Francois van Lille" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
Hi All, We've found that our MIDlet takes a LOT longer to perform any given kSOAP based round-trip to the server on the POSE than any other emulator. The only actual wireless device we have to test on is a Palm Vx with an infrared connection to a GPRS enabled mobile phone. Performance on the actual device pretty much mirrors that of the PalmOS Emulator. So we don't know if the POSE is the only emulator telling the real story (i.e. the other emulators appear a lot faster than the actual device would be), or if there is something internal to the MIDP for Palm implementation that is affecting performance. I came across a post on JavaRanch where a developer had serious performance issues relating to how he was reading data off the socket: when he changed to reading chunks of bytes instead of byte by byte things sped up dramatically. I haven't gone digging into kSOAP's HttpTransport class to see how this level of plumbing is handled, but I'm hoping this is not necessary. Any ideas? Thanx, Francois.