J2ME(Java 2 Micro Edition) - PowerPoint PPT Presentation

About This Presentation
Title:

J2ME(Java 2 Micro Edition)

Description:

J2ME(Java 2 Micro Edition) Wireless Application (1) WAP(Wireless Application Protocol) 1995 PDA ... – PowerPoint PPT presentation

Number of Views:75
Avg rating:3.0/5.0
Slides: 24
Provided by: 66459
Category:
Tags: j2me | edition | java | micro | palm

less

Transcript and Presenter's Notes

Title: J2ME(Java 2 Micro Edition)


1
J2ME(Java 2 Micro Edition)
2
Wireless Application ??(1)
  • WAP(Wireless Application Protocol)
  • 1995? ???? ???
  • ????? PDA?? ?? ???? ??? ???? ??? ??? ??
  • ?? ???? network server, WAP ????? ??, WAP ????,
    WML(Wireless Markup Language), WMLScript,
    microbrowser ?? ??????? ???? ?? ??? ??

3
Wireless Application ??(2)
  • i-Mode
  • ??? NTT DoCoMo? ??
  • Packet-switched network? ?? ?? ???? ???? ????? ??
    ??
  • cHTML(compact HTML)??? ?? markup language? ?? ??
  • cHTML? HTML? ? ????? i-Mode ????? ???? ? ???????
    ? ? ??

4
J2ME? ??
  • WAP? i-Mode? ??
  • ??? ??, ??? ??? ?????, ????? ??? ?? ??? ?? ??
  • J2ME
  • ????? ?? ??? wireless application, ????
    interactive? application, ?????/??? application??
    ??? application?? ??
  • ??? ???? ???? ?? ??

5
J2ME? ??(1)
  • ??? ???
  • Write Once, Run Anywhere? ?? ??? ?? ???? ??
  • ??? ??? ??? ?? ??????? ?? ?? ???? ?? ????? ??
  • ????? ???? ?? ??

6
J2ME? ??(2)
  • ?? ????? ??
  • ??? ???? ?? ??? ??? ??? ? ?? ??? ???? ??? ??? ?
    ??
  • ??? network ??
  • network? ??? ?? ??
  • ???? ????? ?? ?? ?? ? ?? ??? ???? ????? ??

7
J2ME? ??(3)
  • ??? ?? ??
  • Class loader, Bytecode verifier??? Security
    Manager? ????? ? ??? ??? ??
  • ?? ???? ??
  • ???? ???? ?? ???? ???????? ??? ???? ??? ?? ??
  • J2ME? ?? network? ?? ???? ??????? ?????? ??? ? ??
    ?? ?? ????? ??
  • ? ?????? ???? ???? ?? ???

8
J2ME? ??(4)
  • ?? ???
  • J2ME? ??? ??? ???????? ??? ?? ??????? ??? ? Back
    End? ??? ?? J2EE? ?? ??? ? ??
  • GUI
  • ???? ??? ????? ??? ??? ??? ? ?? UI? ??? ???
    ??????? ???? ??
  • ??? UI? ??? ?? ????? ?? ??? ??? ???? ??? ???
    ??????? ?? ? ??

9
J2ME? ??(5)
  • ????, PDA, ????, ??? TV ?? ??, ???? ????? ???,
    network ???, ? ????? ?? ???? ??????? ??? ???
  • ??? ??? ??? ???? ?? ???? ???? ?? ??? ??

10
Java 2? Edition
  • Java 2 Enterprise Edition(J2EE)
  • ???? ??? ???????
  • Java 2 Standard Edition(J2SE)
  • ???? ???? ???????
  • Java 2 Micro Edition(J2ME)
  • ?? ??? ???? ??? ?? ??? ???????

11
Java 2? ???
Profile Profile Foundation Profile Personal Profile RMI Profile PDA Profile MID Profile Profile
J2EE J2SE CDC CDC CDC CLDC CLDC Configuration Edition
J2EE J2SE J2ME J2ME J2ME J2ME J2ME Configuration Edition
Hot Spot VM JVM CVM CVM CVM KVM KVM Vritual Machine
Memory 10MB 1MB 512KB 32KB Memory 10MB 1MB 512KB 32KB Memory 10MB 1MB 512KB 32KB Memory 10MB 1MB 512KB 32KB Memory 10MB 1MB 512KB 32KB Memory 10MB 1MB 512KB 32KB Memory 10MB 1MB 512KB 32KB
12
J2ME? Layer(1)
  • ??? OS?? 3??? ??
  • Java Virtual Machine Layer
  • ?? J2ME? ??? ???? ?? ??? OS? ??? ?? ??? ??? ??
  • CVM? KVM
  • Configuration Layer
  • ?? ???? ?? ??? ??? ???? ???? ???? ??? ?? ?? ???
    ??????? ??
  • Profile Layer
  • ??? ???? ??? ??? ???? ?? ??? ??????? ??

13
J2ME? Layer(2)
  • Configuration? Profile? J2ME? ???? ??
  • Configuration? Profile? ??? virtual machine? ???
    ?????? ??? ?? ???? ???

14
CDC? CDLC
  • CDC(Connected Limited Device Configuration)
  • ????? ??? ??? ?????, 216MB? ???, 32 ?? ??? CPU?
    ??? ??, ??? TCP/IP? ???? ????? network? ????? ??
  • TV ?? ??, ??? TV, ??? ????, ?? ?? ??, ???? ?????
    ???
  • CDLC
  • ??? ?? ??? ??? ??
  • ??? ??? ?????, 128KB?? 1MB? ???, 16??? 32?? CPU?
    ???, ????? TCP/IP? ???? ?? ????? ????? network?
    ??
  • ???? ???, ??? ?? ???, Palm OS? ???? PDA

15
J2SE, CDC, CLDC ??? ?????? ??
16
J2ME Profile
  • Foundation Profile
  • J2SE? API? ??? ??? JVM? ??? ?? ??? ?? Profile
  • RMI Profile
  • J2SE 1.3? RMI API? ?? ??? ??? CDC ??? Profile
  • Personal Profile
  • Personal Java ???? ??? CDC Profile
  • PDAP Profile
  • ???? ?? ???? ?? ??(PDA)? ?? ??? ?????? ??? ?????
    ???? CLDC Profile
  • MIDP(Mobile Information Device Profile)
  • ???, ??? ?? ???? ?? ??? ??? ??? ?????,
    persistence storage, network, ?????? ?? API??
    ???? Profile

17
MIDP/CLDC/KVM
  • MID Mobile Information Device? ????
  • Native System Software Device?? ???? OS? ??
    ??????
  • MIDP Applications CLDC? MIDP?? ??? ????? ????
    ??? ?? ??????
  • OEM-Specific Applications CLDC? MIDP? ???? ??
    ???? ? ??? ???? ??? ????(OEM-specific Classes ??
    OEM-specific service API) ???? ??? ?? ??????
  • Native Applications J2ME?? ??? ??? ??? ??? ??
    ??? ???????? ?? ?? ?? ??? decode ?? ??

18
CLDC ?????
  • javax.microedition.io. ???? ??
  • java.io, java.net ???? ???? ?? ????? ???? ?
  • ???? ??? ??
  • byte, short, int, long, char, boolean
  • CLDC? ??? ?? ???? ???? ??, ?? ???? ???? ????? ???
    ???? ??? float? double? ???? ???

19
MIDP ?????(1)
  • CLDC ??????? ??? ???? ??? ???? ??, MIDP ???????
    ??? ???? ??? ??
  • javax.microedition.midlet ???? ??
  • ?? MIDP ???????? ? ???? MIDlet ???? ????,
    startApp(), pauseApp(), destroyApp()? 3?? ?? ????
    ???? ?

20
MIDP ?????(2)
  • GUI
  • ??? ???? ??? ?? ?? ??? API
  • ?? ???? ???? ??? ??? ???? ?? ????? ??? ?? ?? ???
    API
  • GUI? ??? ???? ??? ????? javax.microedition.lcdui
    ???? ??

21
MIDP ?????(3)
  • Persistent Storage
  • ???? ???? ???? ????? ? ??? ??
  • javax.microedition.rms ???? ??
  • Network
  • HttpConnection ?????? ?? MIDP ??? ????? ??. ?, ??
    MIDP? ???? HTTP ??? ??
  • javax.microedition.io ???? ??

22
MIDlet
  • MIDP? ???? ??? ??????
  • ???? ??. main() ? ?? ?? javax.microedition.MIDlet
    ???? ???? startApp(), pauseApp(), destroyApp()?
    ???? ?
  • MIDlet? ??? ???

23
AMS(Application Management Software)
  • ???? ?? ??? ??? ????? ???? ?? MIDlet? ????? ????
    ??? ??
  • MIDlet? ?? ??? ??. MIDlet? ????? AMS? CLDC????
    MIDP ???, KVM ? MIDlet?? ??? ? ?? ??? ??? ???
  • ??????? ???? ??? ? ??? ? ?? ?? ???? ??? ???? ??
Write a Comment
User Comments (0)
About PowerShow.com