It could be worth mentioning that WLS 7 is not spec compliant. It simply adds all jars contained in the ear on the ear classpath, independent of the Class-Path header.
/Johan citerar Ashwani Kalra <[EMAIL PROTECTED]>: > >From J2EE 1.3 > > "Using this mechanism a J2EE .jar file can reference utility classes or > other shared classes or resources packaged in a separate .jar file that > is included in the same J2EE application package. A .jar file can > reference another .jar file by naming the referenced .jar file in a > Class-Path header in the referencing .jar file's Manifest file. The > referenced .jar file is named using a URL relative to the URL of the > referencing .jar file. > > The Manifest file is named META-INF/MANIFEST.MF in the .jar file. The > Class-Path entry in the Manifest file is of the form > > Class-Path: list-of-jar-files-separated-by-spaces > > The J2EE deployment tools must process all such referenced files when > processing a J2EE module that is or contains a .jar file. " > > Please read J2EE.8.1.1.2 section page 102 for more details. > > --Ashwani > > > > > > > > > > > ----- Original Message ----- > From: Uthiresh Narayanan > To: [EMAIL PROTECTED] > Sent: Monday, October 21, 2002 7:36 PM > Subject: sharing common java files between multiple ejb's in WLS > > > I am using WLS 7.0 > > i have some common classes to be shared by multiple ejbs. (ejb 1.1) > > i have to make different jars for different ejb's and i dont want to > duplicate the classes in every jar. > > how can i make the ear (without making an entry in the classpath of my > server) > > TIA > uthiresh > > > > > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
