The implementation of the Java Virtual machine on the BlackBerry handset is different from the standard J2SE virtual machine, or the hardware of the BlackBerry handset has its features, it is necessary to understand the characteristics of the BB JVM when developing Java programs for the BlackBerry. Learn how to develop efficent, provincial memory code for it.
Digression: In fact, the standard J2SE virtual machines also have their own characteristics, such as sun Jdk,sun on different operating systems JDK,IBM JDK, the implementation of the BEA JDK are different, operating system, hardware CPU different, then the same Java, There is also a difference in the efficiency of running on these Java virtual machines. Someone has optimized the program for a different JVM, or a little slack. Compile optimizations using the Javac compilers dedicated to different JVMs.
Reference:
BlackBerry documentation > documentation for developers > Development Guides
http ://docs.blackberry.com/en/developers/subcategories/?usertype=21&category=development+guides
Select 5.0, select 中文版
Fundamentals guide-blackberry Java Applications
section:
BlackBerry Java application-->blackberry java application design
-->best practices for writing a efficient BlackBerry Java application Best practice:writing Efficient code Best Practice:using objects judiciously Best practice:reducing the size of compiled code