Java User’s Guide
Content
123
s
wm_java_usersguide_v12 Page 6 of 123 2008-02-25
Confidential / Released
11.3 Java IDE ..........................................................................................................75
11.3.1 NetBeans IDE 5.0, NetBeans 5.5 or NetBeans 5.5.x.......................... 75
11.3.1.1 Switching Emulator to IMP-NG Emulator ............................76
11.3.1.2 Templates............................................................................ 77
11.3.1.3 Examples ............................................................................ 78
11.3.1.4 Compile and Run ................................................................ 79
11.3.1.5 Starting Debug Session without Downloading Java Files ...79
11.3.1.6 Displaying Java "System.out" in NetBeans IDE window..... 80
11.3.2 Eclipse 3.0 and Eclipse 3.1 ................................................................81
11.3.2.1 Eclipse 3.0........................................................................... 81
11.3.2.2 Eclipse 3.1........................................................................... 81
11.3.2.3 Eclipse 3.2........................................................................... 81
11.3.2.4 Using Eclipse with ME Plugin up to Version 1.2.3............... 82
11.3.2.5 Using Eclipse with ME Plugin 1.5.x..................................... 83
11.3.2.6 Using Eclipse with ME Plugin 1.6.x..................................... 85
11.3.2.7 Import Example ...................................................................86
11.3.2.8 Compile and Debug ............................................................ 87
11.3.2.9 Starting Debug Session without Downloading Java Files ...89
11.3.3 Borland JBuilder X .............................................................................. 91
11.3.3.1 Examples ............................................................................ 92
11.3.3.2 Starting Debug Session without Downloading Java Files ...93
11.3.4 Borland JBuilder 2005 and JBuilder 2006 Enterprise/Developer ........94
11.3.4.1 Examples ............................................................................ 95
11.4 Breakpoints...................................................................................................... 95
11.5 Switching Java “System.out” to IDE Debug Window....................................... 96
11.6 Important Information for Java Debugging on Windows Vista......................... 97
12 Java Security............................................................................................................. 98
12.1 Secure Data Transfer.......................................................................................98
12.1.1 Create a Secure Data Transfer Environment Step by Step ..............100
12.2 Execution Control...........................................................................................103
12.2.1 Change to Secured Mode Concept................................................... 104
12.2.2 Concept for the Signing the Java MIDlet .......................................... 105
12.3 Application and Data Protection.....................................................................106
12.4 Structure and Description of the Java Security Commands ..........................106
12.4.1 Structure of the Java Security Commands ....................................... 107
12.4.2 Build Java Security Command ..........................................................108
12.4.3 Send Java Security Command to the Module................................... 109
12.5 Create a Java Security Environment Step by Step........................................ 110
12.5.1 Create Key Store .............................................................................. 110
12.5.2 Export X.509 Root Certificate ........................................................... 110
12.5.3 Create Java Security Commands ..................................................... 110
12.5.4 Sign a MIDlet .................................................................................... 112
12.6 Attention.........................................................................................................112