SlideShare a Scribd company logo
An Over view of
J2ME
By Geetu Khanna
Using J2ME with
Wireless
Devices
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
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
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.
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.
MIDP
Mobile Information
Device
Profile
 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.
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)
MIDP API
(familiar packages)
    java.io
    java.lang
    java.lang.ref
    java.util
MIDP API
(no so familiar
packages)
    javax.microedition.io
    javax.microedition.lcdui
    javax.microedition.lcdui.game
    javax.microedition.media
    javax.microedition.media.control
    javax.microedition.midlet
    javax.microedition.pki
    javax.microedition.rms
What makes up a MIDP
Application
MIDP Applications are composed of two
principle parts

JAR File – Contains all of the classes and
resources used by the application
JAD File – Application descriptor,
describes how to run the MIDP application
JAD Files

    Very simple NON-XML config file
    Application Name
    MIDI version
    Copyright and version information
    Location of the JAR file
Example JAD File
MIDlet-1: Jargoneer, Jargoneer.png, Jargoneer
MIDlet-Jar-Size: 2369
MIDlet-Jar-URL:http://www.jeffheaton.com/Jargoneer.jar
MIDlet-Name: Jargoneer
MIDlet-Vendor: Unknown
MIDlet-Version: 1.0
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-1.0
Getting Started
What do I need?
 J2SE (http://sun.java.com)
 Sun’s J2ME Wireless Toolkit
  (http://java.sun.com/products/j2mewtoolkit/)
 Internet Connection
 Publicly accessible website or public static
  IP address
References
 Sun Microsystems J2ME
  http://java.sun.com/j2me/
 Deploy your J2ME Application
  http://www.devx.com/Java/Article/10688/0/pag
  e/2
Thank You !!!

More Related Content

Viewers also liked

Τα ιστολόγια στην εκπαίδευση
Τα ιστολόγια στην εκπαίδευσηΤα ιστολόγια στην εκπαίδευση
Τα ιστολόγια στην εκπαίδευσηGeorgia P. Kavga
 
SBIproducciones - SBI GROUP MEXICO
SBIproducciones - SBI GROUP MEXICOSBIproducciones - SBI GROUP MEXICO
SBIproducciones - SBI GROUP MEXICO
SBIPRODUCCIONES
 
Something about me
Something about me  Something about me
Something about me
bettina_c
 
المرجع الأكيد في لغة الجسد آلان وباربارا بييز
المرجع الأكيد في لغة الجسد   آلان وباربارا بييزالمرجع الأكيد في لغة الجسد   آلان وباربارا بييز
المرجع الأكيد في لغة الجسد آلان وباربارا بييزFahd Alyahry
 
The oldest twenty cities around the world
The oldest twenty cities around the worldThe oldest twenty cities around the world
The oldest twenty cities around the world
Teto Teto
 
Diaporama
DiaporamaDiaporama
Diaporama
carreleurartisan
 
Gabarito UFPB 2012
Gabarito UFPB 2012Gabarito UFPB 2012
Gabarito UFPB 2012Arthur Arao
 
english resume
english resumeenglish resume
english resume
xauJT
 
Ppt
PptPpt
Refsum Disease
Refsum DiseaseRefsum Disease
Refsum Disease
LDierdorff
 
Genetically modified foods
Genetically modified foodsGenetically modified foods
Genetically modified foods
LDierdorff
 
Traders worldmagazine elliott_wave_unveiled_www.dl4all.com
Traders worldmagazine elliott_wave_unveiled_www.dl4all.comTraders worldmagazine elliott_wave_unveiled_www.dl4all.com
Traders worldmagazine elliott_wave_unveiled_www.dl4all.com
shaned30
 
Voting, Your Right, Your Responsibility
Voting, Your Right, Your ResponsibilityVoting, Your Right, Your Responsibility
Voting, Your Right, Your Responsibility
msdMel46
 
Phương pháp học tập và nghiên cứu khoa
Phương pháp học tập và nghiên cứu khoaPhương pháp học tập và nghiên cứu khoa
Phương pháp học tập và nghiên cứu khoaYVANLE
 

Viewers also liked (16)

Τα ιστολόγια στην εκπαίδευση
Τα ιστολόγια στην εκπαίδευσηΤα ιστολόγια στην εκπαίδευση
Τα ιστολόγια στην εκπαίδευση
 
SBIproducciones - SBI GROUP MEXICO
SBIproducciones - SBI GROUP MEXICOSBIproducciones - SBI GROUP MEXICO
SBIproducciones - SBI GROUP MEXICO
 
Something about me
Something about me  Something about me
Something about me
 
المرجع الأكيد في لغة الجسد آلان وباربارا بييز
المرجع الأكيد في لغة الجسد   آلان وباربارا بييزالمرجع الأكيد في لغة الجسد   آلان وباربارا بييز
المرجع الأكيد في لغة الجسد آلان وباربارا بييز
 
The oldest twenty cities around the world
The oldest twenty cities around the worldThe oldest twenty cities around the world
The oldest twenty cities around the world
 
Diaporama
DiaporamaDiaporama
Diaporama
 
Gabarito UFPB 2012
Gabarito UFPB 2012Gabarito UFPB 2012
Gabarito UFPB 2012
 
Iso 9000
Iso 9000Iso 9000
Iso 9000
 
english resume
english resumeenglish resume
english resume
 
Blogs_in_education
Blogs_in_educationBlogs_in_education
Blogs_in_education
 
Ppt
PptPpt
Ppt
 
Refsum Disease
Refsum DiseaseRefsum Disease
Refsum Disease
 
Genetically modified foods
Genetically modified foodsGenetically modified foods
Genetically modified foods
 
Traders worldmagazine elliott_wave_unveiled_www.dl4all.com
Traders worldmagazine elliott_wave_unveiled_www.dl4all.comTraders worldmagazine elliott_wave_unveiled_www.dl4all.com
Traders worldmagazine elliott_wave_unveiled_www.dl4all.com
 
Voting, Your Right, Your Responsibility
Voting, Your Right, Your ResponsibilityVoting, Your Right, Your Responsibility
Voting, Your Right, Your Responsibility
 
Phương pháp học tập và nghiên cứu khoa
Phương pháp học tập và nghiên cứu khoaPhương pháp học tập và nghiên cứu khoa
Phương pháp học tập và nghiên cứu khoa
 

Similar to J2me

J2ME
J2MEJ2ME
Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)
Wambua Wambua
 
Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
Wambua Wambua
 
Java ME CLDC MIDP
Java ME CLDC MIDPJava ME CLDC MIDP
Java ME CLDC MIDP
SMIJava
 
J2ME
J2MEJ2ME
Java J2ME
Java J2MEJava J2ME
Java J2ME
marada0033
 
J2 Me
J2 MeJ2 Me
010118565.pdf
010118565.pdf010118565.pdf
010118565.pdf
EidTahir
 
MOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSMOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMS
Senthil Kanth
 
J2ME mobile app development
J2ME mobile app developmentJ2ME mobile app development
J2ME mobile app development
Muthu Kumar
 
J2me Platform
J2me PlatformJ2me Platform
J2me Platform
Kamal Patel
 
Introduction To J2ME(FT - Prasanjit Dey)
Introduction To J2ME(FT - Prasanjit Dey)Introduction To J2ME(FT - Prasanjit Dey)
Introduction To J2ME(FT - Prasanjit Dey)
Fafadia Tech
 
J2 me 1
J2 me 1J2 me 1
J2 me 1
myrajendra
 
J2me
J2meJ2me
JavaME Development Workflow - JMDF 2007
JavaME Development Workflow - JMDF 2007JavaME Development Workflow - JMDF 2007
JavaME Development Workflow - JMDF 2007
Edoardo Schepis
 
Session1 j2me introduction
Session1  j2me introductionSession1  j2me introduction
Session1 j2me introduction
muthusvm
 
03 midp
03 midp03 midp
03 midp
corneliuskoo
 
J2me step by step
J2me step by stepJ2me step by step
J2me step by step
Yogesh Bindwal
 
J2ME
J2MEJ2ME
06 Eclipse ME
06 Eclipse ME06 Eclipse ME
06 Eclipse ME
corneliuskoo
 

Similar to J2me (20)

J2ME
J2MEJ2ME
J2ME
 
Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)
 
Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
 
Java ME CLDC MIDP
Java ME CLDC MIDPJava ME CLDC MIDP
Java ME CLDC MIDP
 
J2ME
J2MEJ2ME
J2ME
 
Java J2ME
Java J2MEJava J2ME
Java J2ME
 
J2 Me
J2 MeJ2 Me
J2 Me
 
010118565.pdf
010118565.pdf010118565.pdf
010118565.pdf
 
MOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSMOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMS
 
J2ME mobile app development
J2ME mobile app developmentJ2ME mobile app development
J2ME mobile app development
 
J2me Platform
J2me PlatformJ2me Platform
J2me Platform
 
Introduction To J2ME(FT - Prasanjit Dey)
Introduction To J2ME(FT - Prasanjit Dey)Introduction To J2ME(FT - Prasanjit Dey)
Introduction To J2ME(FT - Prasanjit Dey)
 
J2 me 1
J2 me 1J2 me 1
J2 me 1
 
J2me
J2meJ2me
J2me
 
JavaME Development Workflow - JMDF 2007
JavaME Development Workflow - JMDF 2007JavaME Development Workflow - JMDF 2007
JavaME Development Workflow - JMDF 2007
 
Session1 j2me introduction
Session1  j2me introductionSession1  j2me introduction
Session1 j2me introduction
 
03 midp
03 midp03 midp
03 midp
 
J2me step by step
J2me step by stepJ2me step by step
J2me step by step
 
J2ME
J2MEJ2ME
J2ME
 
06 Eclipse ME
06 Eclipse ME06 Eclipse ME
06 Eclipse ME
 

Recently uploaded

Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 

J2me

  • 1. An Over view of J2ME By Geetu Khanna
  • 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. MIDP Mobile Information Device Profile 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.io  java.lang  java.lang.ref  java.util
  • 10. MIDP API (no so familiar packages)  javax.microedition.io  javax.microedition.lcdui  javax.microedition.lcdui.game  javax.microedition.media  javax.microedition.media.control  javax.microedition.midlet  javax.microedition.pki  javax.microedition.rms
  • 11. What makes up a MIDP Application MIDP Applications are composed of two principle parts JAR File – Contains all of the classes and resources 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 File MIDlet-1: Jargoneer, Jargoneer.png, Jargoneer MIDlet-Jar-Size: 2369 MIDlet-Jar-URL:http://www.jeffheaton.com/Jargoneer.jar MIDlet-Name: Jargoneer MIDlet-Vendor: Unknown MIDlet-Version: 1.0 MicroEdition-Configuration: CLDC-1.0 MicroEdition-Profile: MIDP-1.0
  • 14. Getting Started What do I need?  J2SE (http://sun.java.com)  Sun’s J2ME Wireless Toolkit (http://java.sun.com/products/j2mewtoolkit/)  Internet Connection  Publicly accessible website or public static IP address
  • 15. References  Sun Microsystems J2ME http://java.sun.com/j2me/  Deploy your J2ME Application http://www.devx.com/Java/Article/10688/0/pag e/2