Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

J2ME: manifest.mf vs. JAD files

Thread view: 
John Goche - 12 Dec 2005 20:42 GMT
Hello,

I would like to know the following
concerning J2ME development practices:

What is the point of having both a manifest.mf in the .jar file itself
and a separate JAD file containing more or less the same information?
Wouldn't just one of these suffice?

Thanks,

JG
js - 13 Dec 2005 01:21 GMT
> Hello,
>
[quoted text clipped - 8 lines]
>
> JG

When you deploy both a JAD and JAR, normally, you would send a WAP Push
service indication message to the phone where the URL points to the JAD
file.

When you open the WAP push message and click on the URL, phone recognizes
that the file being downloaded is a JAD file, and the J2ME on the phone
then displays the information specified on the JAD file to the user prior
to downloading the JAR, which is also on the JAD file. If you respond with
yes, then the phone downloads the JAR file and installs the app on your
phone.

Of course, you can tell the phone to download the JAR directly and byass the
JAD, but the purpose of the JAD is really as a confirmation to the user
that they want to install the said application from the said vendor, whose
size is x Kb, etc..


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.