hi ashwani,
Second method is the way to go.
You should always go for MODULE_VISIBILITY instead of application wide
visibility.
This lets you make your modules independent and loosely coupled.

Regards,
Harpreet.




                    Ashwani Kalra
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    RIS.CO.IN>                 cc:     (bcc: harpreet.mittar/Polaris)
                    Sent by: A mailing         Subject:     how to access common files 
in jar from ejb and web modules
                    list for Enterprise        of ear              file
                    JavaBeans
                    development
                    <[EMAIL PROTECTED]
                    SUN.COM>


                    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





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

Reply via email to