Title: J2ME(Java 2 Platform Micro Edition)
1 J2ME(Java 2 Platform Micro Edition)
- ???????????4?D?
- n02k1110 ?? ??
2??
- J2ME?????????35
- Java?3??Edition
- J2ME????????????
- Java2????????
- J2ME?????????610
- ??????????
- ????????
- ??????
- J2ME???????????1112
- MIDP/CLDC?????????????????????
- ??
- ???
- ????????13
3Java?3??Edition
- J2EE(Java 2 Platform Enterprise Edition)
- ???????????????????????????????
- J2SE(Java 2 Platform Standard Edition)
- ?PC????????????????
- J2ME(Java 2 Platform Micro Edition)
- ???????????????
4J2ME????????????(6)
- ??
- ?????????????????????????J2SE?J2EE????????????
- ????
- ?????????? ??????
5Java2????????(5)
J2ME???????
??????
??????????
6J2ME???????????
- CLDC(Connected Limited Device Configuration)
- ????????????
- ???????PDA??
- CDC(Connected Device Configuration)
- ?????????????????
- CLCD????????????????
- ???????????????
- ????????????????????????
7CLDC?CDC?????????(3)
Javax.microedition.
J2SE
CDC
CLDC
??
CDC http//java.sun.com/products/cdc/api.html
CLCDhttp//java.sun.com/j2me/docs/pdf/cldc11api.p
df
8J2ME?????????
- KVM(K Virtual Machine)
- CLDC??VM
- KB??
- CVM(Compact Virtual Machine)
- CDC??VM
-
9J2ME???????
- CLDC?
- MIDP(Mobile Information Device Profile)
JSR37 - ?????
- PDAP(Personal Digital Assistant Profile)
JSR75 - ??????? (PIM) ???????PDA
- CDC?
- FP(Foundation Profile) JSR219
- ???????????
- PP(Personal Profile)CDC?FP???? JSR216
- ?GUI???????????
- PBP(Personal Basis Profile)CDC?FP????
JSR217 - ?PP??????
- RMIP(RMI Profile)CDC?FP???? JSR66
- ?RMI??????
10MIDP???????????
- MIDPCLDCKVM
- ?????????
- Java2SDK??????1.3??
- (DL?http//java.sun.com/j2se/1.4.2/)
- ???????????
- WTK(J2ME Wireless Toolkit)???????
- (DL?http//java.sun.com/products/j2mewtoolkit/ja_
download-1_0_4.html) - WTK1.0.4CLDC1.0/MIDP1.0???
- WTK2.0CLDC1.1/MIDP2.0???
- ???????????????????????
- ???????????WTK????
11??
import javax.microedition.midlet. import
javax.microedition.lcdui. public class
HelloMIDP extends MIDlet implements
CommandListener private Form form new
Form("Hello MIDP") //??????? public
HelloMIDP() //cmdStart new
Command("Start", Command.SCREEN, 2)
//cmdExit new Command("Exit", Command.SCREEN,
3) form.append("Hello,MIDP!")
form.addCommand(new Command("Exit",Command.EXIT,1)
) form.setCommandListener(this)
//??????????? public void startApp()
Display.getDisplay(this).setCurrent(form)
//????????????? public void pauseApp()
//??????????? public void
destroyApp(boolean unconditional)
//????????? public void commandAction(Command
c, Displayable d) destroyApp(false)
notifyDestroyed()
12J2ME?????
- ????Felica????
- ?i?????????????????Edy????????????????????
- ?????????
- ?????
13????
- 1 ??????????2004.4??IDG?????p.177p.190?
(2004.4.1) - 2 ?JAVA PRESS vol30????????p.202-p.213?(2003.6.15
) - 3 ?Java????????????J2ME?????????????????????
- ??????????????(2004.12.25)
- 4 ?J2ME ?????Java?????????ASCII?(2002.5.11)
- 5 ?Java2 Micro Edition??http//akimoto-jp.com/jav
a/Mobile/J2ME.html - 6 ???????????http//www.nec-mfriend.com/jp/index.
php - 7 ?Java????? http//webclub.kcom.ne.jp/ma
/maknakat/Tech_Info3/html/2_1(Java).html - 8 ???????????????????????
- http//www.intel.co.jp/jp/developer/update/cont
ents/mo11031.htm - 9 ?J2ME????????
- http//e-words.jp/n/J2ME.html