Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes EJB and other Java EE Technologies and the fly likes why Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "why" Watch "why" New topic


pulijala hari
Ranch Hand

Joined: May 14, 2005
Posts: 70

I would like to know why 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
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


Author: EJB 3 In Action (
I agree. Here's the link:
subject: why
It's not a secret anymore!