I am a Sun Certified Mobile Application Developer. Indeed. I took the exam and passed in December 06. Here are some notes that I had before the exam.
JTWI 1.0 specification
- CLDC 1.0 (NOT 1.1)
- MIDP 2.0
- WMA 1.1
Note: NO MMAPI 1.1 etc…
Jar file requires:
- JAR size
- JAD size
- RMS size
- Jar : 64 KB
- JAD : 5 KB
- RMS : 30 KB
- Heap : 256 KB
- 125x125 with 12 bit color
- SMS Push
- Min. Volatile memory = 32 KB
- Does not support: Finalization, JNI and user defined class loader etc…
- Support: Threads, float, Weak references etc…
- Derived collection classes from J2SE: Vector, Stack, Hashtable, Enumeration etc..
- NO ArrayList, Queue etc..
- Arrange all subroutines in order
- Augment stackmap
- Removes certain bytecodes
Provide Message Interface:
- Takes precedence over JAR manifest
- Eg. MIDlet-Data-Size: 8888
- 8888 bytes of RMS space will permanently be reserved for the application.
- Wait for a StreamConnection to be established
- Extends Connection
- Default mode is READ_WRITE
- Http 1.1 (NOT 1.0)
- UTF-8 is NOT the default encoding scheme
- Can be shared among multiple MIDlets
- Use AUTHMODE_ANY to share
- 5 independent RecordStore
- 5 simultaneous Timer
High level UI
- ChoiceGroup has no IMPLICIT type
- MIDlets in minimum security domain are not prompted for every permission.
- In JAD, specify “Midlet-permissions” and Midlet Suite must be granted the protection domain with the permission, else it will NOT be installed.
- In JAD, specify “Midlet-permissions-opt” if the permission in the protect domain is optional. It can be installed if the permission is not avail to the Midlet.
- X.509 PKI Authentication.
- 5 states : UNREALIZED, REALIZED, PREFETCHED, STARTED, CLOSED
- 160/70 characters depends on encoding