Smartphone Development
  Home arrow Smartphone Development arrow Page 2 - Comparing RIM and JAVA ME APIs
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
SMARTPHONE DEVELOPMENT

Comparing RIM and JAVA ME APIs
By: Joe eitel
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 2
    2009-06-09


    Table of Contents:
  • Comparing RIM and JAVA ME APIs
  • JAVA ME (Micro Edition)

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Comparing RIM and JAVA ME APIs - JAVA ME (Micro Edition)
    ( Page 2 of 2 )

    The RIM API works so well for BlackBerry apps because it was created by the maker of BlackBerry. Java Platform, Micro Edition (Java ME) on the other hand, provides a flexible environment for applications running on not only mobile devices like BlackBerry’s, but for other embedded devices such as personal digital assistants (PDAs), TV set-top boxes, and printers. Java ME includes flexible user interfaces, robust security, built-in network protocols, and support for networked and offline applications that can be downloaded dynamically. Applications based on Java ME are portable across many devices, yet leverage each device's native capabilities.

    Originally, Java ME technology was created in order to deal with the constraints associated with building applications for small devices. For this purpose, Sun defined the basics for Java ME technology to fit such a limited environment and make it possible to create Java applications running on small devices with limited memory, display and power capacity. BlackBerry developers will find that there are slight similarities between the JAVA ME and the RIM API. As mentioned previously, the RIM API is a collection of classes, while the Java ME platform is a collection of technologies and specifications that can be combined to construct a complete Java runtime environment tailored to fit the requirements of a particular device or market. This offers BlackBerry developers a flexibility and co-existence to seamlessly offer the most appealing experience for the end-user.

    The Java ME technology is based on three elements: a configuration provides the most basic set of libraries and virtual machine capabilities for a broad range of devices, a profile is a set of APIs that support a narrower range of devices, and an optional package is a set of technology-specific APIs. The configuration targeting resource-constraint devices, like BlackBerry’s, is called the Connected Limited Device Configuration (CLDC). It is specifically designed to meet the needs for a Java platform to run on devices with limited memory, processing power, and graphical capabilities.

    On top of the different configurations, the Java ME platform also specifies a number of profiles defining a set of higher-level APIs that further define the application. A widely adopted example is to combine the CLDC with the Mobile Information Device Profile (MIDP) to provide a complete Java application environment for smartphones such as BlackBerry’s and other devices with similar capabilities.

    It’s impossible to say which API is better: RIM or JAVA ME. Instead, fledgling BlackBerry developers should first decide what kind of apps they intend to create and then choose their API according to their needs and the needs of their applications. It’s important for developers to also consider who their target market is. Do they want to write one application that works across multiple smartphones, phones, etc. or do they want to customize their application to BB to provide a better experience for the user? Keep in mind that the latter requires more development time.

    You should also consider your target audience; do you want to create one application that works across multiple smartphones, or would you rather customize your application to BlackBerry, giving your user a better experience? While developing a customized BlackBerry app may take longer, in the long run it will be more similar to native BlackBerry applications, and more comfortable for the user.

    One thing is for sure, though: no matter which you choose, both APIs have a lot to offer in the way of security. Both APIs have much to offer, but I think the main idea to focus on is that if developers use the BB API, you will end up with a much more customized application, similar to other native BB apps (meaning the other apps on the device that are written by RIM) and a better experience. Of course, this may or may not make the decision of which API to choose more difficult.



     
     
    >>> More Smartphone Development Articles          >>> More By Joe eitel
     

       

    SMARTPHONE DEVELOPMENT ARTICLES

    - Getting Started with Rich Media
    - How to Incorporate Location into Your BlackB...
    - Building Business Apps with the BlackBerry B...
    - The BlackBerry Java Development Environment ...
    - Advanced Java Programming for BlackBerry Sma...
    - Learning Java Application Development
    - Programming Intuitively with the BlackBerry ...
    - Simulating a BlackBerry Device
    - Data Types and Data Retrieval with BlackBerry
    - Debugging Your BlackBerry Applications
    - What You Need to Know to Get Started as a Bl...
    - Comparing RIM and JAVA ME APIs
    - Advanced BlackBerry Browser Development
    - Introducing the BlackBerry Push API
    - Developing the BlackBerry Browser




    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek