JAM for PDAP

Because PDAP is a superset of MIDP, a MIDP JAR file is also a valid PDAP JAR file. However, PDAP provides one extension of the JAR file format. PDA applications using PDA capabilities beyond MIDP must use PDAlet-<Number> entries. The syntax of the PDAlet-<Number> entries is identical to the MIDlet-<Number> entries. A PDAlet entry with the same number as a MIDlet entry overrides the corresponding MIDlet entry. Thus, different versions of the same applications for both profiles can be included in the same JAD and JAR files. If the device supports PDAP, the PDA applications will be loaded; otherwise the application manager automatically falls back to the MIDlet entry because PDAlet entries have no meaning for the MIDP application manager. ...

Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.