0% found this document useful (0 votes)
11 views14 pages

Topic 1 - Slide Notes

The document outlines the goals of mobile technology and provides an introduction to Java technologies, specifically focusing on the Java 2 Micro Edition (J2ME) platform. It details the architecture of J2ME, including its configurations and profiles, which target various consumer devices. Additionally, it compares J2ME with other Java platforms such as J2SE and J2EE, highlighting their specific applications and functionalities.

Uploaded by

Blueprint Mih
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views14 pages

Topic 1 - Slide Notes

The document outlines the goals of mobile technology and provides an introduction to Java technologies, specifically focusing on the Java 2 Micro Edition (J2ME) platform. It details the architecture of J2ME, including its configurations and profiles, which target various consumer devices. Additionally, it compares J2ME with other Java platforms such as J2SE and J2EE, highlighting their specific applications and functionalities.

Uploaded by

Blueprint Mih
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Page 1 of 14 Dr.

Mwakondo PhD (Computer Science) UoN

CIT4305 MOBILE PROGRAMMING


The goals of Mobile Technology are:
 Connecting people
 Information sharing
 Internet access
 Entertainment
Anywhere and anytime
Page 2 of 14 Dr. Mwakondo PhD (Computer Science) UoN

Topic1: Intro. to programming platform


-Introduction to java technologies
-Java 2 Micro-Edition
-J2ME architecture
-CLDC scope
Page 3 of 14 Dr. Mwakondo PhD (Computer Science) UoN

1.1 Introduction to java technologies


Sun Microsystems bundles its Java technologies into
groups of platforms.
The three most important groups are the following
platforms:
Java 2 SE (J2SE) Java 2 Standard Edition Platform
Java 2 EE (J2EE) Java 2 Enterprise Edition Platform
Java 2 ME (J2ME) Java 2 Micro Edition Platform
Each platform includes a JVM, libraries of classes &
development tools and targets different devices or
systems
Page 4 of 14 Dr. Mwakondo PhD (Computer Science) UoN

Contd..
The various platforms aren't fully separated from each
other.
Page 5 of 14 Dr. Mwakondo PhD (Computer Science) UoN

1.2 Java 2 Micro-Edition (J2ME)


• Sun Microsystems defines J2ME as "a highly
optimized Java run-time environment targeting a
wide range of consumer products, including:
–pagers,
–cellular phones,
–screen-phones,
–digital set-top boxes
–car navigation systems."
• J2ME brings the cross-platform functionality of the
Java language to smaller devices, allowing mobile
wireless devices to share applications i.e. targets
handheld and embedded devices
Page 6 of 14 Dr. Mwakondo PhD (Computer Science) UoN

1.3 J2ME architecture


• J2ME customizes the Java Runtime Environment
(JRE) using:
–configurations
–profiles
• J2ME is comprised of a configuration, which
determines the JVM used, i.e. configuration defines
the basic run-time environment as a set of core
classes and a specific JVM that run on specific
types of devices
• J2ME is comprised of a profile, which defines the
application by adding domain-specific classes to
the J2ME configuration to define certain uses for
devices.
Page 7 of 14 Dr. Mwakondo PhD (Computer Science) UoN

Contd...
• While the J2SE virtual machine is generally referred
to as a JVM, the J2ME virtual machines, KVM and
CVM, are subsets of JVM.
• Both KVM and CVM are kind of Java virtual
machine -- it's just that they are shrunken versions
of the J2SE JVM and are specific to J2ME.
Page 8 of 14 Dr. Mwakondo PhD (Computer Science) UoN

1.4 J2ME configurations


• The Java 2 Micro Edition platform has two possible
configurations:
–CLDC Connected Limited Device Configuration
Used specifically with KVM for 16bit or 32bit
devices with limited amounts of memory
–CDC Connected Device Configuration
Used specifically with CVM for 32bit devices with at
least 2MB of memory
• These two configurations target two different categories
of products:
–Low End Devices
–High End Devices
Page 9 of 14 Dr. Mwakondo PhD (Computer Science) UoN

Contd...
Page 10 of 14 Dr. Mwakondo PhD (Computer Science) UoN

1.5 J2ME profiles


• A J2ME profile addresses a specific need, and it
typically includes class libraries that are more
specific than the classes libraries the configuration
includes.
• Currently, MIDP (Mobile Information Device
Profile) is the most popular profile defined on top
of CLDC.
• The other type of CLDC profile is Kjava
Page 11 of 14 Dr. Mwakondo PhD (Computer Science) UoN

1.6 CLDC scope


• The CLDC configuration addresses the following
areas:
– Java language and virtual machine features
– Core Java libraries (java.lang.*, java.util.*)
–Input/output
–Networking
– Security
–Internationalization
• The CLDC configuration does not address the
following areas. These features are addressed by
profiles implemented on top of the CLDC:
–Application life-cycle management (application
installation, launching, deletion)
– User interface
Page 12 of 14 Dr. Mwakondo PhD (Computer Science) UoN

– Event handling
– High-level application model (the interaction between
the user and the application)
Page 13 of 14 Dr. Mwakondo PhD (Computer Science) UoN

1.7 J2ME vs J2SE vs J2EE


Page 14 of 14 Dr. Mwakondo PhD (Computer Science) UoN

Other Java Platforms


Embedded Java is the platform used for small
computing devices dedicated to one purpose and
 have a 32 bit processor and 512kb ROM and RAM


 Java Card is the platform used for smart cards





Personal Java is the platform used for small
computing devices that have a maximum of
2MB ROM and 1 MB RAM

You might also like