Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic...

16
Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic (MIDlet) Application Data (XML file)

Transcript of Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic...

Framework and application bytecode size

CLDC

MIDP

kXMLparser Utility

classesGraphics

Logic(MIDlet)

Application

Data(XML file)

Database

Web server

JSP pages

JDBC Jar file

XML

MIDlet

JAXP

Internet

myParos web site

Web server

JAR

Bluetooth

kXMLparser

12

download jar file

Base station

kXMLparser

Mobile network

Internet

Web server

JAR

Internet

download jar file

(end-to-end HTTP)

HTTP

J2ME compatible

device

J2ME compatible

device

<HTML> <%> script code <%></HTML>

<HTML> <BODY> ……. ……. </BODY></HTML>

Applicationserver

web server

Database

Database JDBC Driver

JDBC

SQLJava Server Page (JDBC

method invocations)

Information retrieval through a wireless network

Base station

handheld device

Mobilenetwork

request

response

IEEE

802.11

Wireless network access point

laptop

Internetrequestresponse

Web servers

JVM CVM

J2EEJ2SE

PersonalProfile

RMIProfile

GameProfile

PDAProfile

Optionalpackages

Java Language

KVMCardVM

CDC

smartphone pager

mobilephone

PDAcommunicator

set-top box and net TV

screenphone

PC

laptop

workstation

server

CLDC

J2ME

MIDP

Optionalpackages

Optionalpackages

Optionalpackages

Java card

J2ME platform levels

Device hardware

Operation SystemConfiguration

Libraries

JVM

Profile

Java application

J2SE

CDC CLDC

J2ME Characteristics and architecture• Java Virtual Machine

– Virtual Hardware (Processor)– KVM (K Virtual Machine)

• Min. 128 kByte, typ. 256 kByte• Optimized for low performance devices• Might be a co-processor

• Configurations– Subset of standard Java libraries depending

technical hardware parameters (memory, CPU)– CLDC (Connected Limited Device Configuration)

• Basic libraries, input/output, security – describes Java support for mobile devices

• Profiles– Interoperability of heterogeneous devices

belonging to the same category– MIDP (Mobile Information Device Profile)

• Defines interfaces for GUIs, HTTP, application support, …

Hardware(SH4, ARM, 68k, ...)

Java Virtual Machine(JVM, KVM)

Operating system(Symbian, Palm, WinCE)

Configurations(CDC, CLDC)

Profile(MIDP)

Applications

MIDlets development &

deployment

MIDP Networking

Integrating J2ME with WAP and i-mode

Wireless portals

Content producers

Portable terminals

Staticcontent

Dynamiccontent

Web serveror WAP gateway

Contenttranscoding

Applicationprovisioning

WML / cHTMLbrowser

CLDC

MIDP

ApplicationManagement

Software

J2MEapplications

J2MEapplications

(jar files)

J2ME application provisioning

J2MEdevice

BackgammonBattleshipBlack JackChess

Choose game:

Buy Battleshipgame for:

€ 3.00

Confirm:Installing…

Gateway

Contentprovider

WML, cHTML,XHTML, XML

ApplicationManagement

Software

ApplicationDescriptor

(*.jad)

jar file

Wirelessnetwork

BackgammonBattleshipBlack JackChess

Choose game:

Back Buy

BackgammonBattleshipBlack JackChess

Choose game:

Back Buy

Buy Battleshipgame for:

€ 3.00

Confirm:

Back Buy

Buy Battleshipgame for:

€ 3.00

Confirm:

Back Buy

1

2

3

1 2 3

Application advertisement through WAP or i-mode

Application selection by the user

The AMS downloads the J2ME application

WAP / i-mode site

End-to-End Architecture for m-Commerce

MIDlet GUI

Client-tier

WMLmicrobrowser

cHTMLmicrobrowser

J2ME device

WAP device

i-mode device

Web-tier Backend-tier

Data(Oracle,

SQL Server,MySQL)

JSPpages

XML(JAXP)

WML

cHTML

WAP gateway

Web server & application server

Sun J2ME Wireless Toolkit