HOME   |  ARTICLES   |  LEARN J2ME   |  DID YOU KNOW |  TESTS |  SHOPPING |  ABOUT DUCKLING |

Advertisements


Home > Articles > PDAP Profile
Dynamic cache management and performance tuning in J2ME

Each mobile device can handle only a certain amount of cache and if this prescribed amount is exceeded then the dynamic memory blows up resulting in the following scenarios

Never start coding with optimization in mind. Only optimize at the fag end of the project after all code readability is also important an important factor. Intermediate device deployments can also be done to check the device compatibility and get a fair idea of how your application works on the target devices.

Thumb rule for coding J2ME applications is modular programming approach. Never use design patterns when the target devices are low end devices. We may also think about two code bases one for high end with colorful images etc and another for low end devices with bare minimum functionality.

The above said scenarios may not occur on the emulator but when ported on to a device could give you sleepless nights. Also this behavior can be differ from device to device. Low end devices are more vulnerable to this problem. Keep this check list ready whenever your application's performance suffers.

This nifty check list is handy for optimization for all devices and varied J2ME applications.

site comments powered by Disqus