Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why manifest.mf?

 
pulijala hari
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic