Hi,
        In my session bean I want to access properties from a properties
file. Also in my sesson bean I'm creating an Image file(BLOB read from the
database ) and a HTML File also read from database(CLOB,BLOB) .
    I had used Entity Bean to represent a table containing BLOB image. And I
created a ".gif" file in the entity Bean. It worked fine. It did not throw
any exception. How was this? I'm using WebLogic Server 4.5. I HAVE TO access
files from my beans , as I will be storing HTML files  in temporary
directories , read from the database.
Any pointers,
Thanks,
Parikshit


-----Original Message-----
From: Marc-Oliver Scheele <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, February 21, 2000 11:50 PM
Subject: IO-restrictions and XML Files


>Hello;
>
>I know; as defined in the EJB 1.1 specification file I/O is not allowed.
>That means using classes from the java.io package throws a security
exception.
>
>But how can you access properties stored in files in a separate resource
directory.
>
>For example:
>
>I have a couple of xml-files (and one DTD) that are used for initialisation
and configuration.
>My enterprise bean should use sun's jaxp xml-parser (that use java.io.*) to
read
>the data from the file into an entity bean.
>I think that is a typical scenario, but from my understanding it is not
allowed
>in EJB1.1.
>
>Any hints ?
>Thanks
>Oliver
>
>===========================================================================
>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