java me an introduction

27
Java ME An Introduction

Upload: anoopengineer

Post on 26-May-2015

8.720 views

Category:

Technology


0 download

DESCRIPTION

A ppt that I used to explain what Java ME was all about to some guys.

TRANSCRIPT

Page 1: Java ME  An  Introduction

Java MEAn Introduction

Page 2: Java ME  An  Introduction

www.javameblog.com

A presentation by Anoop KS <[email protected]>

Page 3: Java ME  An  Introduction

What is it?

Page 4: Java ME  An  Introduction

• Java 2 Micro Edition.

• JAVA for MICRO devices.

• Micro Device:– Limited Processing Power– Limited Storage Capacity– No or Low Bandwidth Network Connection– eg: Mobile phones, PDAs, Set top boxes, Car

Navigation systems etc.

What is it?

Page 5: Java ME  An  Introduction

Capabilities

Multimedia

Image Capture

Audio Playback

Video PlaybackVideo Recording

Audio Recording

Page 6: Java ME  An  Introduction

Capabilities

ConnectivityHTTP

Datagram

Secure HTTP

Serial IO

Bluetooth

Infrared

Sockets

Page 7: Java ME  An  Introduction

Capabilities

GamingGameCanvas

Sprites

Layers

3D Support

TiledLayer

LayerManager

Page 8: Java ME  An  Introduction

CapabilitiesPersonal Information Management

File ManagementSMS MMS

GPS

Built-in Database

SIP

Security and Trust Services

Page 9: Java ME  An  Introduction

Architecture

MMAPI, 3D API …Optional Packages

Profile

ConfigurationJVM

MIDP, PBP …

CLDC, CDC

Page 10: Java ME  An  Introduction

Configurations• Limited virtual machine termed KVM.

• Geared towards a family of devices.

• Subset of J2SE API

• Two Configurations:– Connected Device Configuration (CDC)– Connected Limited Device Configuration

(CLDC)

Page 11: Java ME  An  Introduction

Profiles• Geared towards specific use of the

device.

• Extends the configuration.

• Some profiles:– Mobile Information Device Profile (MIDP).– Personal Digital Assistant Profile (PDAP).– Foundation Profile.– Personal Profile.

Page 12: Java ME  An  Introduction

• For small devices like: – Cell phones– PDAs– Pagers.

• Low Power• Low Memory• Low Bandwidth

CLDC CDC

• For less restricted devices like: – Set-Top Boxes– Car Navigation

Systems.• Full Featured JVM called

CVM.

Page 13: Java ME  An  Introduction

Mobile Phones use

MIDP over CLDC

Page 14: Java ME  An  Introduction

CLDC• No floating point support.

• No object finalization.

• No support for JNI or reflection.

• No thread groups or daemon thread.

• No application-defined class loaders.

• Implementation-defined error handling.

• Class verification is done differently

Page 15: Java ME  An  Introduction

MIDP

• MIDP applications are called MIDlets.

• Contains APIs for:– Application management and control.– User interface.– Persistent Storage.– Networking.– Timers.

Page 16: Java ME  An  Introduction

MIDlet Life Cycle

Page 17: Java ME  An  Introduction

Why J2ME?

• Portability.

• Flexible and consistent user interfaces.

• Robust security.

• Built-in network protocols.

• Networked and offline applications.

• Larger audience for the application.

• Reduced application development time.

Page 18: Java ME  An  Introduction

Portability

Page 19: Java ME  An  Introduction

User Interfaces

•Consistent Look and Feel

•Flexibility

Page 20: Java ME  An  Introduction

Security

•Java’s Security Architecture

•Cryptography Support

•HTTPS

•SSL

Page 21: Java ME  An  Introduction

Network Support•Wifi

•GPRS

•Bluetooth

•Infrared

•Any future technology.

Page 22: Java ME  An  Introduction

Development Time

Time is Money

“”

Page 23: Java ME  An  Introduction

Larger Audience

Page 24: Java ME  An  Introduction

Initial Investment

Page 25: Java ME  An  Introduction

Questions?

Page 26: Java ME  An  Introduction

www.javameblog.com

A presentation by Anoop KS <[email protected]>

Page 27: Java ME  An  Introduction

Thank You.