It is always fascinating to work with gadgets that can change the future. I started working on it as a part of my project. Research in Motion provides Blackberry Java Development Environment(JDE) to develop Apps for Blackberry device.JDE provides set of libraries spanning from basic data structres to device UI components. Its similar to that working on Eclipse or .Net framework. But the disliking part about this is "Debugging" the App take lots of time depending on how much of your RAM is fragmented. If it is highly fragmented address space then your debugging process might take several minutes.
(1) Build the application, do not debug the app. Launch the Blackberry simulator. Then load the Java program (*.cod) file into it. And finally run it!
(2)Debug the application. But this process is slow as the JDE first launches the MDS(Mobile data service) server then the BB Simulator and finally loads the java program(your .cod file)
A common problem you'll be facing when giong by 2nd step is that most of the time java programs(*.cod) are not loaded. The reason behind this is the simulator is not erasing the simulation file which is used by the Java virtual machine while running the simulator. So it is recommended to manually erase the simulation file every time before debugging the app.