Your SlideShare is downloading. ×
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply



Published on

J2ME:-Java 2 Micro Edition

J2ME:-Java 2 Micro Edition

Published in: Education, Technology

  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1. An Over view ofJ2MEBy Geetu Khanna
  • 2. Using J2ME withWirelessDevices
  • 3. What is J2ME?Java2 Micro Edition Java Platform, Micro Edition, or J2ME, is a Java platform designed for embedded systems (mobile devices are one kind of such systems). Devices such as:  Mobile Phones  Pagers  PDA’s  Car Navigation Systems  Internet Appliances  Set-Top Boxes
  • 4. The J2ME Universe PDAP Personal Profile MIDP Personal Mobile Information Personal Basis Profile Digitial Assistant Device Profile Profile Foundation Profile CLDC CDC Connected, Limited Device Configuration Connected Device Configuration J2ME Java 2, Micro Edition
  • 5. J2ME Profiles The Connected Limited Device Configuration (CLDC) Contains a strict subset of the Java-class libraries, and is the minimum amount needed for a Java virtual machine to operate. CLDC is basically used for classifying innumerable devices into a fixed configuration.  Mobile Information Device Profile (MIDP) - Designed for mobile phones  Information Module Profile (IMP) - is a profile for embedded, "headless" devices such as vending machines, industrial embedded applications, security systems, and similar devices with either simple or no display and with some limited network connectivity.
  • 6. J2ME Profiles Connected Device Configuration (CDC) The Connected Device Configuration is a subset of Java SE, containing almost all the libraries that are not GUI related. It is richer than CLDC.  Foundation Profile - This profile is intended to be used by devices requiring a complete implementation of the Java virtual machine up to and including the entire Java Platform, Standard Edition API.  Personal Basis Profile - The Personal Basis Profile extends the Foundation Profile to include lightweight GUI support in the form of an AWT subset.
  • 7. MIDPMobile InformationDeviceProfile Java ME devices implement a profile. The most common of these are the Mobile Information Device Profile aimed at mobile devices, such as cell phones, and the Personal Profile aimed at consumer products and embedded devices like set-top boxes and PDAs.
  • 8. MIDP vs J2SE No Native Methods Threading, but no use of interrupt() No file-based I/O Many classes with fewer methods Collections (Vector, Hashtable & Stack)
  • 9. MIDP API(familiar packages)   java.lang  java.lang.ref  java.util
  • 10. MIDP API(no so familiarpackages)   javax.microedition.lcdui     javax.microedition.midlet  javax.microedition.pki  javax.microedition.rms
  • 11. What makes up a MIDPApplicationMIDP Applications are composed of twoprinciple partsJAR File – Contains all of the classes andresources used by the applicationJAD File – Application descriptor,describes how to run the MIDP application
  • 12. JAD Files  Very simple NON-XML config file  Application Name  MIDI version  Copyright and version information  Location of the JAR file
  • 13. Example JAD FileMIDlet-1: Jargoneer, Jargoneer.png, JargoneerMIDlet-Jar-Size: 2369MIDlet-Jar-URL: JargoneerMIDlet-Vendor: UnknownMIDlet-Version: 1.0MicroEdition-Configuration: CLDC-1.0MicroEdition-Profile: MIDP-1.0
  • 14. Getting StartedWhat do I need? J2SE ( Sun’s J2ME Wireless Toolkit ( Internet Connection Publicly accessible website or public static IP address
  • 15. References Sun Microsystems J2ME Deploy your J2ME Application e/2
  • 16. Thank You !!!