java me an introduction

Post on 26-May-2015

8.720 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

TRANSCRIPT

Java MEAn Introduction

www.javameblog.com

A presentation by Anoop KS <anoopengineer@gmail.com>

What is it?

• 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?

Capabilities

Multimedia

Image Capture

Audio Playback

Video PlaybackVideo Recording

Audio Recording

Capabilities

ConnectivityHTTP

Datagram

Secure HTTP

Serial IO

Bluetooth

Infrared

Sockets

Capabilities

GamingGameCanvas

Sprites

Layers

3D Support

TiledLayer

LayerManager

CapabilitiesPersonal Information Management

File ManagementSMS MMS

GPS

Built-in Database

SIP

Security and Trust Services

Architecture

MMAPI, 3D API …Optional Packages

Profile

ConfigurationJVM

MIDP, PBP …

CLDC, CDC

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)

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.

• 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.

Mobile Phones use

MIDP over CLDC

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

MIDP

• MIDP applications are called MIDlets.

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

MIDlet Life Cycle

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.

Portability

User Interfaces

•Consistent Look and Feel

•Flexibility

Security

•Java’s Security Architecture

•Cryptography Support

•HTTPS

•SSL

Network Support•Wifi

•GPRS

•Bluetooth

•Infrared

•Any future technology.

Development Time

Time is Money

“”

Larger Audience

Initial Investment

Questions?

www.javameblog.com

A presentation by Anoop KS <anoopengineer@gmail.com>

Thank You.

top related