Welcome!

Java Authors: Maureen O'Gara, Bruce Armstrong, Liz McMillan, Walter H. Pinson, III, Yakov Werde

Related Topics: Java, Wireless

Java: Article

Java Technology for the Wireless Industry

Toys or Tools?

Conclusion
The current version of the MIDP specification is an interim set of APIs that reflects a particular point in the development of mobile telephone technology. At present, mobile phone developers must work within the constraints of current devices and work around the constraints of the platform as best they can. Although the limited CLDC/MIDP libraries constrain multiple aspects of Java application development, there are a number of initiatives in place to support applications migrating down to smaller devices, including small footprint XML parsers and databases.

Regarding JDO and whether or not it could be implemented to run on a MIDP device, our conclusion is that while MIDP alone cannot realistically host a full JDO implementation, a distributed implementation that combines local processing with server support can indeed meet our application needs. Not only that, but such an architecture actually opens up a more challenging set of options for truly distributed systems that provide for widely distributed data and processes.

The real challenge for MIDP developers is to build applications that not only work locally on a single device but can interact and synchronize with multiple nodes of different types in a disparate architecture. In practice, running JDO on a single device provides few advantages over alternative APIs for data access. However, a distributed JDO implementation that integrated and synchronized data across multiple nodes, encapsulated behind a single distributed object model, could be a very valuable tool.

From our discussion of JDO as an example of serious application development, we can see that developing software for mobilized architectures requires us to consider a range of aspects of design and implementation in order to identify the optimum configuration. MIDP alone cannot provide a fully featured Java deployment platform. But, by playing to its strengths, such as the ability to maintain a persistent local data cache and support it with server-side resources, it opens up a range of new opportunities in software development.

References

  • Kochnev, D., and Terekhov, A. "Surviving Java for mobiles." IEEE Pervasive Computing, Vol. 2, no.2, June 2003.
  • Sun Microsystems. (2003). "JSR-000185 Java Technology for the Wireless Industry 1.0 (Final Release)." Java Community Process: http://jcp.org/aboutJava/communityprocess/final/jsr185/index.html
  • JDOCentral, Developer's Community for Java Data Objects: www.JDOCentral.com
  • Reese, G. (2003). Java Database Best Practices. O'Reilly.
  • ProGuard Java Class File Shrinker and Obfuscator. Test results: http://proguard.sourceforge.net
  • Java Data Objects Expert Group, "JSR-000012 Java Data Objects 1.0.1 (Maintenance Release), 2003, section 5.5.4." Java Community Process: http://jcp.org/aboutJava/communityprocess/final/jsr012/index2.html
  • Dubé, J.; Sapir, R.; Purich, P.; and Siegal, E. "Oracle Application Server TopLink - Application Developer's Guide 10g (9.0.4)." Oracle Technology Network, pp. 470-486, 2003: http://download-west.oracle.com/docs/cd/B10464_01/web.904/b10313.pdf
  • Braig A., and Gemkow, S. "The BonSai Principle - Persistenz in der Java 2 Micro Edition." Java Spektrum. September 2002: www.sigs.de/publications/js/2002/09/Braig_JS_09_02.pdf
  • More Stories By David Parsons

    David Parsons is a senior lecturer in information systems at Massey University, Auckland, and a knowledge engineer for Software Education Associates, Wellington. Until last year he was the director of emerging technologies at Valtech, London, and prior to that principal technologist at BEA Systems.

    More Stories By Ilan Kirsh

    Ilan Kirsh is a lecturer in Computer Science at the Academic College of Tel-Aviv-Yaffo, and the author of ObjectDB (www.objectdb.com), a pure JDO object database for J2EE, J2SE and J2ME.

    More Stories By Mark Cranshaw

    Mark Cranshaw is a senior lecturer in the Faculty of Technology at Southampton Institute. He has extensive experience of delivering education using Java technologies, including JDO tools. His current research interests include mobile Java and HCI.

    Comments (2) View Comments

    Share your thoughts on this story.

    Add your comment
    You must be signed in to add a comment. Sign-in | Register

    In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


    Most Recent Comments
    Ajay D. Desai 01/24/05 06:19:32 AM EST

    Mobile phone's software development has to take place within the limits of that device. For this reason, it is necessary to expand limits of mobile phone. Mobile phones should be equipped with full english keyboard and other special characters like PC keyboard of 101 keys. This will enable computer like usage of mobile phone. Particularly, it may be difficult to use Asian languages on mobile phones. Having bigger key board will make it possible to use all languages on mobile phone.

    C. Enrique Ortiz 01/22/05 11:01:36 PM EST

    The articles title is "Java Technology for the Wireless Industry", but most of it concentrates on JDO. The title is misleading - it should have been called "JDO and J2ME" or something like that.

    The article is misleading, for one because it concludes "MIDP specification is an interim set of APIs"... because of the difficulties the authors encountered while implementing JDO on MIDP; JDO this is not a typical application, and not a good example for JTWI.

    I do agree with the authors comment "At present, mobile phone developers must work within the constraints of current devices and work around the constraints of the platform as best they can."; But the authors must understand that writing wireless mobility software is NOT the same as writing desktop or enterprise software.

    The authors say "developing software for mobilized architectures requires us to consider a range of aspects of design and implementation in order to identify the optimum configuration"; yes, that is what makes writing software for mobile, constraint devices so specialized.

    JDO on MIDP (on top of RMS) is too heavy. Instead of JDO to access a server DB, data synchronization should probably be used.

    C. Enrique Ortiz, J2MEDeveloper.com