This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes JAD and Manifest entries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "JAD and Manifest entries" Watch "JAD and Manifest entries" New topic
Author

JAD and Manifest entries

Bryon Phinney
Greenhorn

Joined: Aug 17, 2001
Posts: 13
Would someone specify which entries are required and which are optional in the JAD and Manifest files? My understanding is that some entries must be in both.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Download the user's guide and look at Table 1.2 (MIDlets attributes) on page 1-16. You will find all (required/optional) attributes of the JAR and JAD files.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
Yes, only some of them are required in each case. However, there are some devices/emulators which seem to require more than just the ones listed in the spec. The safest thing seems to be to duplicate all the entries in the manifest in the JAD file as well.
The complete set of attributes for both the application descriptor and the manifest is found on pp.49-52 of my MIDP book.


Eric Giguere
Author/Co-Author of: Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide, Java 2 Micro Edition: Professional Developer's Guide and PalmTM Database Programming: The Complete Developer's Guide
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JAD and Manifest entries