All,
Yes I know this is a no-no from the EJB specification but I am sure there is a
work around.
I have a properties file for my system that I wish to read into a session bean. I am
using Sun's FSContext service provider to locate the file using JNDI and then I
File file = (File)context.lookup("aaa.properties");
This part works so far. However I am not sure whether this violates the EJB
specification. Can some one let me know ?
Secondly I wish to make changes to this file and write it back to disk.
Is the right way to do that is to have context invoke rebind() ?
Finally I wish to read in my properties file as a properties file
ala
Properties p = new Properties();
p.load(new FileInputStream(fileName));
Can one do this using EJB ??
Any answers would be appreciated,
Ashwin.
===========================================================================
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".