File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes why manifest.mf? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "why manifest.mf?" Watch "why manifest.mf?" New topic
Author

why manifest.mf?

pulijala hari
Ranch Hand

Joined: May 14, 2005
Posts: 70
Hi,

I would like to know why manifest.mf file will be used in Enterprise applications?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

I always use the manifest to keep track of version number of my applications. That's a very common use.

-Cameron McKenzie
Debu Panda
author
Ranch Hand

Joined: Jan 21, 2007
Posts: 100
Two more usages:

1. Class-Path entry to specify dependency on an external jar. For example, your ejb1-jar.jar depends upon a helper.jar

2. If you are using an application client then you specify the Main-class for the application client jar. Most application server's Application Client Container launch the application client based on the Main-Class attribute

regards
Debu


Author: EJB 3 In Action (http://manning.com/panda)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why manifest.mf?
 
Similar Threads
SCJD- problem making jar - project from Andrew Monkhouse and Terry Camerlengo book
MANIFEST
When the Classpaths in MANIFEST.MF file are used
What is the use of META-INF/MANIFEST.MF in the servlet based application
Access Project Utility Jar which is outside of WebContent\WEB-INF\lib from web proj packaged as EAR