Patent ID: 7587712

Claim:
A method for offloading resource intensive compilations comprising: requesting, by a user of a wireless handheld device, data including a platform independent application; assessing, by the wireless handheld device, a resource on the wireless handheld device and determining whether or not to request native code for the platform independent application; and if it is determined that the request for the native code should be made, the requested platform independent application is routed to a trusted server, wherein the trusted server compiles the platform independent application into the native code for the wireless handheld device and transports the native code to the wireless handheld device for execution on the wireless handheld device, wherein compiling the platform independent application into the native code comprises combining the platform independent application with device form factor information for the wireless handheld device, compiling the combined platform independent application into bytecode, and JIT (Just-In-Time) compiling the bytecode into the native code and if the data further includes information other than the platform independent application, then modifying the information other than the platform independent application using the device form factor information and transporting the modified information to the wireless handheld device.