Two Laptop Bag
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes �What's META-INF for ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "�What Watch "�What New topic

�What's META-INF for ?

Henrik Krievs
Ranch Hand

Joined: Jan 05, 2004
Posts: 60
Pls see subj.

Rgds, Henrik
vishwa venkat
Ranch Hand

Joined: Nov 22, 2003
Posts: 185
META-INF is used to store the meta-information about the project.Eor example, if u r zipping/jaring lot of classes, u can have main class name listed in META-INF.
Roger Yates
Ranch Hand

Joined: Aug 31, 2004
Posts: 118
You can also list dependencies in MANIFEST.MF in the META-INF directory.
If any of these are missing, this will ensure that the app will fail at deploy time, rather that at some point later when a user uses the part of the app that needs the dependencies that aren't there.

Cheers,<br />Roger<br />SCJP 1.2, 1.4, SCBCD 1.3, SCWCD 1.4
I agree. Here's the link:
subject: �What's META-INF for ?
It's not a secret anymore!