Take a look at ClassLoader.getSystemResourceAsStream... I think it
could suit your needs

   Jose

Eric luo wrote:

> Hi,
>
> I just wonder how I could access XML file(it could be packaged with Bean JAR file, 
>but it should be an independent file). I knew bean could access the attribute you 
>created from deploytool, but those attributes is put in your bean descriptor rather 
>than an independent file.
>
> Eric
>
> ===========================================================================
> 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".
>

===========================================================================
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".

Reply via email to