Parikshit wrote:

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

I think this works for you because WebLogic 4.5.x implements a
liberal version of the security permissions listed in section
18.2.1.1 of the spec.  The spec says "should" deny, not "must"
deny, so WebLogic is probably compliant with the spec (that's
my interpretation).  But your beans probably won't be portable
to other containers that implement a stricter version of the
security permissions, and deny the FilePermission.

-Paul Hodgetts

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