|
|
 |
 |
 |
| |
|
 |
|
| |
| Programming with Java 2 Platform, Micro Edition (J2ME) |
| Duration: 3 days |
|
|
|
This course is for Java developers who are considering doing J2ME development:
- Developers
- Consultants
- Architects
|
|
Java |
|
|
| Description |
Java 2 Platform, Micro Edition (J2ME) aims to adapt Java for the wide
spectrum of consumer products ranging from small devices such
as palm pilots, mobile phones, to home appliances such as TV, refrigerator, etc.
Although J2ME is still using the same Java language as the other
editions, it has to reduce the size of the Java runtime environment in
order to run in devices that have various memory and power constraints.
It achieves this by removing unnecessary classes from the Java 2 Platform,
Standard Edition and augmenting it with new classes that are suitable for small devices.
Consumer products come in different shapes, sizes, power supplies, etc., which reflect in the constraints
of available memory, power and other resources of the runtime environment. The strategy J2ME adopted
to cope with such a varied world is to use <em>configurations</em> and <em>profiles</em>
to customize the Java runtime environment. A <em>configuration</em> defines a basic J2ME
runtime environment (virtual machine) and a set of core classes that run on devices that have
similar capabilities.
J2ME currently defines two configurations: the Connected Limited Device Configuration (CLDC) and the
Connected Device Configuration (CDC). CLDC is designed for devices with constrained CPU and memory, usually
a 16- or 32-bit CPU with 512K or less memory. CDC is designed for devices with more resources, usually a
32-bit CPU with 2 MBytes or more memory. While configurations define virtual machines and core classes that apply
to all kinds of devices of certain capabilities, <em>profiles</em> specify APIs suited to a specific
industry or class of devices. One such profile that has been released is the Mobile Information Device Profile (MIDP)
which, together with CLDC, provides a complete J2ME application runtime environment targeted at mobile
information devices, such as cellular phones and two-way pagers. |
|
| Objectives |
This course aims to teach students the full spectrum of doing development with J2ME. Begining with a solid introduction to the issues that J2ME tries to solve and the concepts of configurations and profiles, the course moves on to cover the details of the CLDC and CDC specifications and MIDP specification. Students will spend 50% of time doing hands-on labs using the CLDC refernce implementation and KVM. They will also develop real world CLDC/MIDP compliant applications with the J2ME wireless toolkit.
After finishing this course, attendees will
- Have a firm understanding of J2ME architecture
- Have a firm understanding and hands-on experience with the CLDC, CDC, and MIDP specifications and reference implementation
- Be able to use the CLDC reference implementation to develop, compile, and run applications and test run in the Palm OS emulator
- Be able to use the J2ME MIDP toolkit to write applications for mobile phone and run them in the cellular phone simulator
|
|
| Course Outline |
Overview
- Programming for consumer electronics
- J2ME architecture
- Configurations
- KVM
- Profiles
CLDC and CDC Specification
- CLDC Language support
- CLDC Virtual Machine support
- CLCD Architecture and Security
- CLDC libraries
- CLDC reference implementation
- CDC Specification summary
- Comparing CDC to CLDC
|
|
MIDP Specification
- Profiles and MIDP
- Architecture
- Networking
- Persistent Storage
- MIDP execution environment
- MIDlets and MIDlet Suites
- User interface classes
- Other MIDP classes
- Using CLDC/MIDP tool kit
- Using the cellular phone simulator
| |
|
|