Hi
check out the J2EE spec.............i am referring to j2ee-1_4 proposed final draft
section 8.2
************************
The following example illustrates a simple use of the bundled optional
package mechanism to reference a library of utility classes that are shared
between enterprise beans in two separate ejb-jar files.
app1.ear:
META-INF/application.xml
ejb1.jar Class-Path: util.jar
ejb2.jar Class-Path: util.jar
util.jar
************************
looks like u need to specify them separately each time!!!!
hope this helps
--------------------------------------------------------------------------------------------------------------------------------
S Srihari
To: [EMAIL PROTECTED]
cc: (bcc: Srihari
Srinivasan/BTC/COMP/PHILIPS)
Subject: how to access common
files in jar from ejb and web modules of ear
file
Ashwani Kalra
<[EMAIL PROTECTED] Classification:
.IN>
Sent by:
A mailing list for
Enterprise JavaBeans
development
<[EMAIL PROTECTED]
M>
03/10/2003 12:11 PM
Please respond to
ashwani.kalra
hi,
I am having some common files in jar file(say common.jar) used by ejb and
web module.
If I try to set the classpath attribute in ear file manifest as
1. Class-Path: common.jar
This doesnt work (doesnt pick the classes).
How ever if I individually put the entry 1 in manifest files of ejb
modules and webmodules, then it doesnt give the error.
But I want to use the first method . Is there anything wrong.
I am using WAS 4.0.1 for multiplatform.
Regds
Ashwani
(See attached file: InterScan_Disclaimer.txt)
This e-Mail may contain proprietary and confidential information and is sent for the
intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination,
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment
other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in