The RIM JDE is unremarkable in some ways but laudable in others. The requisite syntax-aware text editor and project tree view are present. RIM's "power coder" enhancements include performance profiling, code coverage reports (for verifying the thoroughness of tests), and a convincing 5810 hardware simulator. The simulator launches automatically whenever a program is run in debug mode. A radio control panel subjects the simulator to mocked-up radio service outages and weak signals. Although the GPRS modem in the 5810 is capable of near-constant connectivity, applications cannot behave as though they have a wired connection to the network.
Hitting the target
In practice, the JDE, simulator, and command-line tools fit the bill almost perfectly, especially considering they're free. Aside from UI issues, the greatest limitation imposed by the 5810 is its size. You can't squeeze 28MB worth of Java 1.3 run time into 8MB of flash memory. An awful lot of standard Java functionality was eliminated to cut the run time down to size.
The 5810's Java library implements J2ME (Java 2 Micro Edition. A scant subset of the standard Java run-time classes is exposed through J2ME packages resident in the 5810. RIM obviously found the J2ME specification limiting because the largest and most useful packages (bearing the prefix "net.rim.device.api") are those unique to the device. These extensions not only give the developer tighter control over the 5810's hardware but also include extremely useful utility classes for such tasks as multithreading, GZip (Gnu Zip) compression, MIME decoding, and text-field validation. Network access to remote servers is facilitated by the J2ME HTTP classes. Developers can also use raw datagrams to exchange data with other machines.
Programming the 5810 takes some extra effort: RIM's "Hello, world" sample is 170 lines long, including comments and stub methods for ignored events. We'd like to see better abstraction of common functions so that the simplest applications are easier to express and maintain. Functional applications that draw UI elements, respond to user-initiated events, and transfer data over the network can get big in terms of lines of code.
RIM's samples and documentation lack detail in key areas. Large chunks of the API aren't discussed in the programmer's guide, so developers will need to plan for more experimentation than they may be accustomed to undertaking. Even with these caveats, RIM's model for Java development on the BlackBerry 5810 is worthy of emulation: Create first-rate tools, make them available for free, and let the community unlock the potential of wireless applications.
This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.
Download now »Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.
Download now »
The emergence of WLANs has created a new breed of security threats to enterprise networks.
Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation
Effectively address data protection challenges, implementing solutions that help store and protect businesscritical data while cutting costs and improving efficiency and reliability.
Download now »
Sign up to receive InfoWorld Resource Alerts
